Skip to content

Commit

Permalink
build-dist-dll before build-dist-min (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
jchip authored Feb 15, 2017
1 parent 5d58293 commit 3f35c43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/electrode-archetype-react-app/arch-gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ function makeTasks(gulp) {
task: [".clean.dist", "build-dist-dev-static"]
},

"build-dist": [".clean.dist", ".clean.dll", "build-dist-min", "build-dist-dll", "build-dist:flatten-l10n",
"build-dist": [".clean.dist", ".clean.dll", "build-dist-dll", "build-dist-min", "build-dist:flatten-l10n",
"build-dist:merge-isomorphic-assets", "copy-dll", "build-dist:clean-tmp"],

"build-dist-dev-static": {
Expand Down Expand Up @@ -609,6 +609,7 @@ INFO: Individual .babelrc files were generated for you in src/client and src/ser
"build-dist-dll": () => {
setProductionEnv();
createGitIgnoreDir(Path.resolve("dll"), "Webpack DLL Output dir");
mkdirp.sync(Path.resolve("dist"));
return exec(`webpack --config ${config.webpack}/webpack.config.dll.js --colors`)
},
"copy-dll": () => shell.cp("-r", "dll/*", "dist")
Expand Down

0 comments on commit 3f35c43

Please sign in to comment.