Module build failed using css-loader while trying to import main.css file
I am trying to use node and vue js in the wordpress plugin.I am struck in the css file import.I am trying add css file into the package.json file. importing css file using css-loader. But i am getting the following error. Also can anyone explain how to post-css in this case. package.json { "name": "plugin_toolkit", "version": "1.0.0", "description": "Simple WordPress plugin that uses Webpack.", "main": "index.js", "babel": { "presets": [ "@babel/preset-env" ] }, "scripts": { "dev": "webpack --mode=development --watch --config webpack-config.js", "build": "webpack --mode=production --config web
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.