File tree Expand file tree Collapse file tree 5 files changed +22
-12
lines changed Expand file tree Collapse file tree 5 files changed +22
-12
lines changed Original file line number Diff line number Diff line change 44 "scripts" : {
55 "test" : " jest --runInBand" ,
66 "pretest" : " yarn clean" ,
7- "lint" : " eslint --fix packages/**/*.js packages/**/bin/* " ,
7+ "lint" : " eslint --fix packages/**/*.js" ,
88 "clean" : " rimraf test/*"
99 },
1010 "gitHooks" : {
Original file line number Diff line number Diff line change 11const extractParts = require ( '../lib/sfcSplitter' )
2- const path = require ( 'path' )
3- const rimraf = require ( 'rimraf' )
42
53module . exports = api => {
64 // transform .vue files into a folder with the same name containing
@@ -54,9 +52,5 @@ module.exports = api => {
5452 }
5553 }
5654 } )
57- const pathSource = path . resolve ( './src' )
58- rimraf . sync ( pathSource )
59- const testsSource = path . resolve ( './tests/unit' )
60- rimraf . sync ( testsSource )
6155 api . render ( './template' )
6256}
Original file line number Diff line number Diff line change @@ -17,7 +17,14 @@ module.exports = (api, options) => {
1717 }
1818 } )
1919
20- const cssRule = config . module . rule ( 'css' )
20+ const cssRule = config . module . rule ( 'css' ) . oneOf ( 'normal' )
2121 cssRule . enforce ( 'post' )
22+ cssRule . uses . clear ( )
23+ cssRule
24+ . use ( 'style-loader' )
25+ . loader ( 'style-loader' )
26+ . end ( )
27+ . use ( 'css-loader' )
28+ . loader ( 'css-loader' )
2229 } )
2330}
Original file line number Diff line number Diff line change 2626 },
2727 "dependencies" : {
2828 "vue-template-loader" : " ^1.0.0" ,
29- "vue-template-compiler" : " ^2.5.22"
29+ "vue-template-compiler" : " ^2.5.22" ,
30+ "style-loader" : " ^0.23.1"
3031 }
3132}
Original file line number Diff line number Diff line change @@ -4881,9 +4881,9 @@ graphql-upload@^8.0.2:
48814881 object-path "^0.11.4"
48824882
48834883graphql@^14.0.2 :
4884- version "14.1.0 "
4885- resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.1.0 .tgz#f38eb11bf9b4678a9a7741de795a3d25d46a7490 "
4886- integrity sha512-1dFYdyjS3A2BmoYXXwmpNIr2SoSpcPkF6gXB4UqZh2mWKBLfyUaQbk2POigqrKvlCimphJoPgkb0SFxDgJwSXQ ==
4884+ version "14.1.1 "
4885+ resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.1.1 .tgz#d5d77df4b19ef41538d7215d1e7a28834619fac0 "
4886+ integrity sha512-C5zDzLqvfPAgTtP8AUPIt9keDabrdRAqSWjj2OPRKrKxI9Fb65I36s1uCs1UUBFnSWTdO7hyHi7z1ZbwKMKF6Q ==
48874887 dependencies :
48884888 iterall "^1.2.2"
48894889
@@ -9926,6 +9926,14 @@ strip-outer@^1.0.0:
99269926 dependencies :
99279927 escape-string-regexp "^1.0.2"
99289928
9929+ style-loader@^0.23.1 :
9930+ version "0.23.1"
9931+ resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.23.1.tgz#cb9154606f3e771ab6c4ab637026a1049174d925"
9932+ integrity sha512-XK+uv9kWwhZMZ1y7mysB+zoihsEj4wneFWAS5qoiLwzW0WzSqMrrsIy+a3zkQJq0ipFtBpX5W3MqyRIBF/WFGg==
9933+ dependencies :
9934+ loader-utils "^1.1.0"
9935+ schema-utils "^1.0.0"
9936+
99299937stylehacks@^4.0.0 :
99309938 version "4.0.1"
99319939 resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-4.0.1.tgz#3186595d047ab0df813d213e51c8b94e0b9010f2"
You can’t perform that action at this time.
0 commit comments