无法选择我的scss文件的编译路径

时间:2019-01-04 16:05:57

标签: javascript json npm sass

我应该在脚本中写什么到package.json文件中,以便将main.scss文件编译到css文件夹而不是scss文件夹

预先感谢

enter image description here

我的脚本::

"scripts": {
    "build-css": "node-sass --include-path ./src --include-path ./node_modules src/ -o src",
    "watch-css": "npm run build-css && node-sass --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive",
    "start": "npm-run-all -p watch-css start-js",
    "build": "npm run build-css && react-scripts build",
    "start-js": "react-scripts start",
    "test": "react-scripts test --env=jsdom --passWithNoTests",
    "eject": "react-scripts eject"
  },

0 个答案:

没有答案