Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.

Commit 76ef71f

Browse files
committed
chore(nuxt.config.ts): add hardSource: true for build speed up maybe
1 parent 468ce9d commit 76ef71f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

nuxt.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ module.exports = {
1313
NODE_ENV: process.env.NODE_ENV
1414
},
1515

16+
// https://qiita.com/toaru/items/0690a9110c94052bb479
17+
hardSource: true,
18+
1619
// https://ja.nuxtjs.org/faq/host-port/
1720
server: {
1821
port: 4000,

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"lintfix": "eslint --fix --ext .js,.ts,.vue --ignore-path .gitignore .",
1616
"precommit": "npm run lint",
1717
"test": "jest",
18+
"clean:cache": "rm -rf node_modeles/.cache/hard-source",
1819
"storybook": "start-storybook -p 9001 -c .storybook",
1920
"docker:dev": "node tools/preprocessor.js dev && docker-compose -f docker-compose.dev.yml up --build",
2021
"docker:stg": "node tools/preprocessor.js stg && docker-compose -f docker-compose.stg.yml up --build",

0 commit comments

Comments
 (0)