Skip to content

Commit

Permalink
fixes lib build
Browse files Browse the repository at this point in the history
  • Loading branch information
argyleink committed Jul 29, 2020
1 parent bbc0fb8 commit 5a3f566
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"build:pre:css": "postcss app/css/index.css -o dist/bundle.css --env production",
"build:post:copy": "cp app/index.html dist/index.html",
"build": "rm -rf dist && concurrently npm:build:pre:* && concurrently npm:build:post:*",
"lib": "postcss src/index.css -o transition.min.css --env production",
"lib": "postcss src/index.css -c src -o transition.min.css --env production",
"start": "concurrently --kill-others npm:dev:*",
"production": "npm run build && npm run prod:server"
},
Expand Down
2 changes: 1 addition & 1 deletion transition.postcss.config.js → src/postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const cssnano = require('cssnano')
module.exports = {
plugins: [
postcssImport({
path: 'app/css',
path: 'src/index.css',
}),
cssnano({
preset: 'default'
Expand Down
Loading

0 comments on commit 5a3f566

Please sign in to comment.