🚀 feat: postcss
This commit is contained in:
parent
bc0119d821
commit
eaf683440a
5
.postcssrc
Normal file
5
.postcssrc
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"plugins": {
|
||||||
|
"autoprefixer": true
|
||||||
|
}
|
||||||
|
}
|
@ -4,7 +4,7 @@
|
|||||||
"description": "a clean and elegant theme for hexo.",
|
"description": "a clean and elegant theme for hexo.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "parcel serve source-src/main.js -d source/css",
|
"dev": "parcel serve source-src/main.js -d source/css",
|
||||||
"build": "parcel build source-src/main.js -d source/css --no-source-maps"
|
"build": "parcel build source-src/main.js -d source/css"
|
||||||
},
|
},
|
||||||
"source": "source-src/main.js",
|
"source": "source-src/main.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
@ -24,7 +24,9 @@
|
|||||||
},
|
},
|
||||||
"homepage": ".",
|
"homepage": ".",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"parcel-bundler": "^1.12.4"
|
"autoprefixer": "^9.7.4",
|
||||||
|
"parcel-bundler": "^1.12.4",
|
||||||
|
"postcss-modules": "^1.5.0"
|
||||||
},
|
},
|
||||||
"dependencies": {}
|
"dependencies": {}
|
||||||
}
|
}
|
File diff suppressed because one or more lines are too long
1
source/css/main.css.map
Normal file
1
source/css/main.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -3,3 +3,4 @@ parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcel
|
|||||||
},{}],"epB2":[function(require,module,exports) {
|
},{}],"epB2":[function(require,module,exports) {
|
||||||
"use strict";require("./css/style.styl");
|
"use strict";require("./css/style.styl");
|
||||||
},{"./css/style.styl":"MiQR"}]},{},["epB2"], null)
|
},{"./css/style.styl":"MiQR"}]},{},["epB2"], null)
|
||||||
|
//# sourceMappingURL=/main.js.map
|
1
source/css/main.js.map
Normal file
1
source/css/main.js.map
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"version":3,"sources":["main.js"],"names":[],"mappings":";;;AAAA,aAAA,QAAA","file":"main.js","sourceRoot":"..\\..\\source-src","sourcesContent":["import './css/style.styl'"]}
|
Loading…
Reference in New Issue
Block a user