I'm trying to convert from Sass
to PostCSS
with PreCSS
plugin on Parcel
, but Parcel
keeps importing an unchanged CSS
file. There is a correctly processed file in the dist
folder, but Parcel
imports another file in the Dist
folder that was never processed.
source file structure:
index.html
Terminal.html
StyleSheets
-->index.pcss
-->Terminal.pcss
Scripts
-->index.js
-->Terminal.js
And here is my parcel.config.js
module.exports = {
plugins: [
require('autoprefixer'),
require('cssnano'),
require('precss')
]
}