Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

704
Vistas
rollup Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)

The rollup was working normally before the last update, now I don't know what the problem is, rollup-blugin-postcss is not working anymore.


This is the content of my rollup.config.js file:

import postcss from 'rollup-plugin-postcss'


export default {
    input : 'index.js',
    output : {
        file: 'dist/bundle.js',
        format: 'esm'
    },
    blugins : [
        postcss()
    ]
}

This is the content of my index.js file:

import './style.css'

consol.log('test')

This is the content of my package.json file:

{
  "name": "tes",
  "version": "1.0.0",
  "scripts": {
    "build": "rollup -c rollup.config.js"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "rollup": "^2.60.1",
    "rollup-plugin-postcss": "^4.0.2"
  }
}
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda