Skip to content

Commit

Permalink
fix(build): don't use persistent cache
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroppy committed Jan 21, 2021
1 parent 086c546 commit f62be21
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions packages/fusuma/src/tasks/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ async function build(config, isConsoleOutput = true) {
process.env.NODE_ENV = 'production';
}

// TODO: investigate webslide error
config.build.useCache = false;

await deleteDir(outputDirPath);
await webpackBuild(config, isConsoleOutput, (type) => {
if (type === 'start-ssr') {
Expand Down
2 changes: 0 additions & 2 deletions samples/advanced/.fusumarc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@ slide:
code:
languages:
- yaml
build:
useCache: false
2 changes: 0 additions & 2 deletions samples/debug/.fusumarc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ slide:
extends:
js: main.js
css: style.css
build:
useCache: false
2 changes: 0 additions & 2 deletions samples/intro/.fusumarc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@ slide:
extends:
js: index.js
css: style.css
build:
useCache: false

0 comments on commit f62be21

Please sign in to comment.