我有一个这样的JSON文件
{
"name": "Loopstudios",
"version": "1.0.0",
"description": "Loopstudios webpage",
"main": "index.js",
"scripts": {
"watch:sass": "sass sass/main.scss css/style.css -w",
"devserver": "live-server --browser=firefox",
"start": "npm-run-all --parallel devserver watch:sass",
"compile:sass": "sass sass/main.scss css/style.comp.css",
"prefix:css": "postcss --use autoprefixer -b \"last 10 versions\" css/style.comp.css -o css/style.prefix.css",
"compress:css": "sass css/style.prefix.css css/style.css --style compressed",
"build:css": "npm-run-all compile:sass prefix:css compress:css"
},
"author": "Utku",
"license": "ISC",
"devDependencies": {
"autoprefixer": "^7.1.4",
"concat": "^1.0.3",
"npm-run-all": "^4.1.1",
"postcss-cli": "^4.1.1",
"sass": "^1.32.12"
}
}
当我运行build:css时,它会给我一行CSS代码,如下所示
以前它给出了几行代码,但现在所有的代码都卡在一行中。这是为什么?它还给出了两个。map文件是那么正常,在我看来是没有必要的。
我想要这样的
1条答案
按热度按时间roejwanj1#
这与IDE或代码编辑器选项有关,请检查它们。