Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

699
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!