Browse Source

feat: npm install scss

wangyuan 2 years ago
parent
commit
5b7f6d6269
3 changed files with 756 additions and 2 deletions
  1. 4 0
      ittpc/build/webpack.base.conf.js
  2. 750 2
      ittpc/package-lock.json
  3. 2 0
      ittpc/package.json

+ 4 - 0
ittpc/build/webpack.base.conf.js

@@ -31,6 +31,10 @@ module.exports = {
   },
   module: {
     rules: [
+      {
+        test: /\.scss$/,
+        loaders: ["style", "css", "sass"]
+      },
       {
         test: /\.vue$/,
         loader: 'vue-loader',

File diff suppressed because it is too large
+ 750 - 2
ittpc/package-lock.json


+ 2 - 0
ittpc/package.json

@@ -32,6 +32,7 @@
     "friendly-errors-webpack-plugin": "^1.6.1",
     "html-webpack-plugin": "^2.30.1",
     "node-notifier": "^5.1.2",
+    "node-sass": "^4.14.1",
     "optimize-css-assets-webpack-plugin": "^3.2.0",
     "ora": "^1.2.0",
     "portfinder": "^1.0.13",
@@ -39,6 +40,7 @@
     "postcss-loader": "^2.0.8",
     "postcss-url": "^7.2.1",
     "rimraf": "^2.6.0",
+    "sass-loader": "^7.3.1",
     "semver": "^5.3.0",
     "shelljs": "^0.7.6",
     "uglifyjs-webpack-plugin": "^1.1.1",

Some files were not shown because too many files changed in this diff