Test repo for Strapi SCSS webpack config
- generate plugin
strapi generate:plugin testSCSS
Ref:
https://www.npmjs.com/package/strapi-plugin-webpage-builder?activeTab=readme
npm install [email protected] [email protected] --save-dev
sass-loader latest version is 11.0.1 but very important to install version 10 becasuse strapi use webpack 4 and it incompatible with strapi
You can see installed webpack version:
npm list webpack
Insert file as provided in this git :
admin/admin.config.js
source file:
plugins/test-scss/admin/src/components/boolView/index.js
insert new item to Tests collection and see result