Skip to content

Commit 5a3f566

Browse files
author
Adam Argyle
committed
fixes lib build
1 parent bbc0fb8 commit 5a3f566

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"build:pre:css": "postcss app/css/index.css -o dist/bundle.css --env production",
3030
"build:post:copy": "cp app/index.html dist/index.html",
3131
"build": "rm -rf dist && concurrently npm:build:pre:* && concurrently npm:build:post:*",
32-
"lib": "postcss src/index.css -o transition.min.css --env production",
32+
"lib": "postcss src/index.css -c src -o transition.min.css --env production",
3333
"start": "concurrently --kill-others npm:dev:*",
3434
"production": "npm run build && npm run prod:server"
3535
},
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const cssnano = require('cssnano')
44
module.exports = {
55
plugins: [
66
postcssImport({
7-
path: 'app/css',
7+
path: 'src/index.css',
88
}),
99
cssnano({
1010
preset: 'default'

0 commit comments

Comments
 (0)