This repository was archived by the owner on Jan 24, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +12
-22
lines changed
Expand file tree Collapse file tree 4 files changed +12
-22
lines changed Original file line number Diff line number Diff line change 5252 },
5353 "scripts" : {
5454 "test" : " echo \" Error: no test specified\" && exit 1" ,
55- "start" : " webpack serve --mode development --open " ,
55+ "start" : " webpack -w --mode development" ,
5656 "dev" : " webpack --mode development --watch" ,
5757 "build" : " webpack --mode production"
5858 },
5959 "browserslist" : [
6060 " last 2 versions" ,
61- " ie >= 1% "
61+ " ie >= 11 "
6262 ]
6363}
Original file line number Diff line number Diff line change @@ -5,12 +5,16 @@ const TerserPlugin = require("terser-webpack-plugin");
55
66const config = {
77 entry : {
8- main : [ ".src/css/style.css" , "./js/main.js" ] ,
8+ main : [
9+ "./src/js/material-dashboard.js" ,
10+ ] ,
911 editor : {
1012 import : [
11- '../css/styles.css' ,
13+ // CSS
14+ './src/assets/css/style.css' ,
1215
13- '../js/script.js' ,
16+ // JS
17+ './src/assets/js/script.js' ,
1418 ]
1519 }
1620 } ,
@@ -50,20 +54,6 @@ const config = {
5054 test : / \. p n g | j p g | g i f / ,
5155 type : "asset/resource" ,
5256 } ,
53- {
54- enforce : "pre" ,
55- test : / \. j s $ / ,
56- exclude : [ / n o d e _ m o d u l e s / , / v e n d o r / ] ,
57- loader : "eslint-loader" ,
58- options : {
59- fix : true ,
60- } ,
61- } ,
62- {
63- test : / \. j s $ / ,
64- exclude : / n o d e _ m o d u l e s / ,
65- loader : "babel-loader" ,
66- } ,
6757 ] ,
6858 } ,
6959 externals : {
@@ -82,10 +72,10 @@ const config = {
8272 } ,
8373
8474 plugins : [
85- new StylelintPlugin ( {
86- files : [ "./**/ *.{scss,sass}" ] ,
75+ /* new StylelintPlugin({
76+ files: ["./!**!/! *.{scss,sass}"],
8777 fix: true,
88- } ) ,
78+ }),*/
8979 new MiniCssExtractPlugin ( ) ,
9080 ] ,
9181} ;
You can’t perform that action at this time.
0 commit comments