Commit Graph

28 Commits

Author SHA1 Message Date
Pooya Parsa
742ea42f97 webpack: process.env.NODE_ENV are set to production or development 2018-02-26 14:44:13 +03:30
Peter Pan
13b74b8f36 fix #2741: add staging environment via NODE_ENV 2018-02-02 11:16:17 +08:00
Pooya Parsa
10d1b5974c style: format with prettier 2018-01-13 08:52:11 +03:30
Pooya Parsa
452747b3c4 perf,fix: source map improvements 2018-01-05 03:04:20 +03:30
Pooya Parsa
4e22416002 refactor sryle-loader
makes code more clear and (temporary) fixing dev source maps when extractCSS is on
2017-12-28 19:00:31 +03:30
Pooya Parsa
9b8cbed512 perf: remove rollup build
Using native node 8.x for less transpilations
2017-12-12 13:12:29 +03:30
Clark Du
72e2351719 fix: youch with source-map in default dev case 2017-12-12 00:13:08 +03:30
Clark Du
29df01f16e fix: memory leak when frequent rebuild in watch mode 2017-12-10 17:43:45 +03:30
Pooya Parsa
afc874a11a perf(SSR): bundle with native async/await and less transpilations 2017-12-08 17:48:37 +03:30
Pooya Parsa
259f26bd4f
refactors for modulesDir as array 2017-11-24 13:10:01 +03:30
Clark Du
f27ddea7d5 feat: modulesDir supports array form 2017-11-24 17:19:50 +08:00
Atinux
83815de91b lint: Update linting rule on space-before-paren 2017-10-30 17:51:11 +01:00
Atinux
8a2adbeee4 patch: Fix typo in warning 2017-10-27 12:17:35 +02:00
Sebastien Chopin
e3974b4729 deprecation: Deprecate isServer, isClient and dev 2017-10-20 12:05:22 +02:00
Sebastien Chopin
20eb5a5eb0 fix: handle process.env to have nested keys 2017-09-05 11:15:07 +02:00
Sébastien Chopin
7738d0c0af Merge pull request #1447 from Zip753/improve-nuxt-config-interface
Improve nuxt.config.js and Nuxt modules API
2017-08-24 15:49:10 +02:00
Sebastien Chopin
04d05de906 process: Add process.mode 2017-08-23 18:21:27 +02:00
Ivan Nikulin
8cf5a21752
Change build.extend hook to return new webpack config 2017-08-23 00:50:45 +02:00
Pooya Parsa
d7fbe47c31 feat: experimental dll support
`.cache/` should be git ignored in projects.
disabled by default. Can be enabled using `options.build.dll: true`
2017-08-21 15:46:35 +04:30
Sebastien Chopin
c1d2d4c626 Rename process.generate to process.static 2017-08-17 14:50:39 +02:00
Sebastien Chopin
42d967c27b Add process.generate 2017-08-17 14:43:51 +02:00
Pooya Parsa
127155d61a workaround for es6-promise and vue-server-renderer 2017-08-10 16:16:00 +04:30
Pooya Parsa
d7cb08b746 improve server bundle size
explicitly excluding nuxt's node_modules optimizes bundle size in both normal usage and when using in test/linked/npx
2017-08-10 15:39:25 +04:30
Pooya Parsa
5aa4120c3d enable nodeExternals for modulesDir if exists
#1076
2017-08-01 03:58:53 +04:30
Pooya Parsa
92b6936811 feat: modulesDir option
fixes problems with npx and linked libraries #1076
2017-08-01 02:54:10 +04:30
Pooya Parsa
255a944bc9 webpack: don't warn about ssr bundle size 2017-08-01 01:16:46 +04:30
Pooya Parsa
adb43fbc10 better production source maps 2017-06-20 00:44:13 +04:30
Pooya Parsa
766009dbba Cleaner structure 2017-06-18 12:06:00 +04:30