🚀 feat: postcss

This commit is contained in:
shenyu 2020-03-02 19:32:14 +08:00
parent bc0119d821
commit eaf683440a
6 changed files with 42 additions and 31 deletions

5
.postcssrc Normal file
View File

@ -0,0 +1,5 @@
{
"plugins": {
"autoprefixer": true
}
}

View File

@ -1,30 +1,32 @@
{
"name": "ayer",
"version": "1.0.0",
"description": "a clean and elegant theme for hexo.",
"scripts": {
"dev": "parcel serve source-src/main.js -d source/css",
"build": "parcel build source-src/main.js -d source/css --no-source-maps"
},
"source": "source-src/main.js",
"repository": {
"type": "git",
"url": "git+https://github.com/Shen-Yu/hexo-theme-ayer.git"
},
"keywords": [
"hexo",
"theme",
"blog",
"ayer"
],
"author": "Shen-Yu",
"license": "MIT License",
"bugs": {
"url": "https://github.com/Shen-Yu/hexo-theme-ayer/issues"
},
"homepage": ".",
"devDependencies": {
"parcel-bundler": "^1.12.4"
},
"dependencies": {}
"name": "ayer",
"version": "1.0.0",
"description": "a clean and elegant theme for hexo.",
"scripts": {
"dev": "parcel serve source-src/main.js -d source/css",
"build": "parcel build source-src/main.js -d source/css"
},
"source": "source-src/main.js",
"repository": {
"type": "git",
"url": "git+https://github.com/Shen-Yu/hexo-theme-ayer.git"
},
"keywords": [
"hexo",
"theme",
"blog",
"ayer"
],
"author": "Shen-Yu",
"license": "MIT License",
"bugs": {
"url": "https://github.com/Shen-Yu/hexo-theme-ayer/issues"
},
"homepage": ".",
"devDependencies": {
"autoprefixer": "^9.7.4",
"parcel-bundler": "^1.12.4",
"postcss-modules": "^1.5.0"
},
"dependencies": {}
}

File diff suppressed because one or more lines are too long

1
source/css/main.css.map Normal file

File diff suppressed because one or more lines are too long

View File

@ -3,3 +3,4 @@ parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcel
},{}],"epB2":[function(require,module,exports) {
"use strict";require("./css/style.styl");
},{"./css/style.styl":"MiQR"}]},{},["epB2"], null)
//# sourceMappingURL=/main.js.map

1
source/css/main.js.map Normal file
View 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'"]}