Skip to content

Commit

Permalink
improve script
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Aug 21, 2017
1 parent 7d96d94 commit c55edc0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions clean-scripts.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ module.exports = {
`image2base64-cli images/*.png images/*.gif --less src/variables.less --base images`,
[
`lessc src/tree.less > dist/tree.css`,
`cleancss -o dist/tree.min.css dist/tree.css`
],
`cleancss -o demo/index.bundle.css dist/tree.min.css ./node_modules/github-fork-ribbon-css/gh-fork-ribbon.css`
`cleancss -o dist/tree.min.css dist/tree.css`,
`cleancss -o demo/index.bundle.css dist/tree.min.css ./node_modules/github-fork-ribbon-css/gh-fork-ribbon.css`
]
],
clean: `rimraf demo/**/index.bundle-*.js demo/tree-icon-*.png demo/index.bundle-*.css`
},
Expand Down Expand Up @@ -60,7 +60,7 @@ module.exports = {
angular: `file2variable-cli src/vue-node.template.html src/vue-tree.template.html -o src/vue-variables.ts --html-minify --base src --watch`,
src: `tsc -p src --watch`,
demo: `tsc -p demo --watch`,
webpack: `webpack --display-modules --config demo/webpack.config.js --watch`,
webpack: `webpack --config demo/webpack.config.js --watch`,
image: `image2base64-cli images/*.png images/*.gif --less src/variables.less --base images --watch`,
less: `watch-then-execute "src/*.less" --script "clean-scripts build[2].css[1]"`,
rev: `rev-static --config demo/rev-static.config.js --watch`
Expand Down

0 comments on commit c55edc0

Please sign in to comment.