Commit Graph

56 Commits

Author SHA1 Message Date
Pooya Parsa
e0a35f76eb webpack: set mode option 2018-02-26 13:56:31 +03:30
Ricardo Gobbo de Souza
536aab6380 Moved options to a new dir block: 2018-02-03 14:04:15 -02:00
Ricardo Gobbo de Souza
483cd9ea29 feat: custom static directory 2018-02-03 09:54:16 -02:00
Ricardo Gobbo de Souza
fb29df43fd feat: custom assets directory 2018-02-03 09:10:06 -02:00
Arsen Stahanov
9981df71fc Support autoimport of '.jsx' files 2018-01-26 15:37:00 +02:00
Clark Du
eb9e4a529c
feat: transpile .jsx files 2018-01-18 20:10:23 +08:00
Pooya Parsa
811201925d fix: prioritize nested node_modules in webpack search path (#2558) 2018-01-11 22:02:47 +03:30
Sébastien Chopin
202a84f203
Merge branch 'dev' into dev 2018-01-05 08:18:17 +01:00
Pooya Parsa
452747b3c4 perf,fix: source map improvements 2018-01-05 03:04:20 +03:30
Pooya Parsa
3822f0912b fix: use use non-eval source maps as of chrome 63 dev-tools bug 2018-01-05 02:30:01 +03:30
Clark Du
f0908f089d
fix: chrome sourcemap issue 2018-01-04 23:25:48 +08:00
Pooya Parsa
bfe1f2c4d3 builder loader refactors 2017-12-29 12:26:32 +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
a4e2a7cd65 always add nuxt to modulesDir 2017-12-12 16:27:01 +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
Pooya Parsa
b86426aaa0 fix(webpack): don't use hashes when watching
helps preventing memory leaks on dev mode and more clear source
2017-12-11 23:37:11 +03:30
Pooya Parsa
f99897376b refactor webpack plugins 2017-12-11 23:24:32 +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
2097a03b9c allow minimal debugging in producion envs
no-sources-source-map prevents using chrome debugging tools.
2017-12-08 12:21:53 +03:30
Pooya Parsa
9f72e4a6e2 refactor: warnfix plugin 2017-12-08 12:12:18 +03:30
Clark Du
a5e30b763a test: ignore coverage due to @ava/stage-4 adds _interopDefault on module 2017-12-08 10:32:10 +03:30
EGOIST
65d5fcd91c Fix: only use TimeFixPlugin in dev mode 2017-12-06 10:28:00 +03:30
Clark Du
f27ddea7d5 feat: modulesDir supports array form 2017-11-24 17:19:50 +08:00
Sébastien Chopin
7b7f3a104e
Merge pull request #2081 from clarkdo/extract_css
feat: make extractCSS configurable
2017-11-11 21:04:10 +01:00
Clark Du
ff4a5bd404
feat: make extractCSS configurable 2017-11-11 20:52:45 +08:00
Atinux
6dfe660412 fix: Implement TimeFixPlugin by @egoist to avoid webpack rebuilds 2017-11-07 11:47:55 +01:00
Atinux
83815de91b lint: Update linting rule on space-before-paren 2017-10-30 17:51:11 +01:00
Sébastien Chopin
0781814045 lint: Fix lint issue 2017-10-28 11:01:41 +02:00
outofcash
2816c5687d Support for .coffee files for store and middlewares 2017-10-04 23:53:12 +02:00
Pooya Parsa
b931dd40ce fix sass loader with indentedSyntax
fixes #1436

query options cannot be used when options provided
2017-08-22 00:38:39 +04:30
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
Pooya Parsa
f42783af32 better common chunks 2017-08-20 22:52:01 +04:30
Pooya Parsa
e0782af53e enable ModuleConcatenationPlugin for client bundles 2017-08-17 22:54:20 +04:30
Pooya Parsa
5d2429459a working postcss everywhere 2017-08-14 18:34:02 +04:30
Pooya Parsa
1f4dfa5f44 feat: build.autoprefixer option
allows enable/disable or customize autoprefixer

closes #1296
2017-08-05 12:37:33 +04:30
Pooya Parsa
6bcfaf8a3a consitent ~/static and ~/assets aliases
closes #1257 #1241
2017-08-04 13:29:42 +04:30
Sébastien Chopin
a9b5c59c53 Merge pull request #1224 from kunsam/dev
add video file-loader
2017-08-03 10:37:49 +02:00
Clark Du
f22c16a7a4 feat(nuxt.config.js): support chunkFileName in config 2017-08-01 20:15:02 +04:30
Sébastien Chopin
b5bc480725 Update base.config.js 2017-08-01 17:40:31 +02:00
Pooya Parsa
1f85b2dd13 revert back ~static and ~assets again
#1241
2017-08-01 15:09:23 +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
61a424528c help to work with linked modules and npx
#1076 @Jinjiang
2017-08-01 01:57:22 +04:30
Kun Sam
9f5886c91b add video file-loader 2017-07-31 16:41:40 +08:00
Pooya Parsa
080453586f hide warns about plugins without a default export
partial fix for #1179
2017-07-27 22:16:11 +04:30
Pooya Parsa
ea1b5ae10f feat: better aliases 2017-07-04 18:52:13 +04:30
Pooya Parsa
447e85af14 depricated ~ in flavour of @ for aliases 2017-06-29 21:06:22 +04:30
Sébastien Chopin
0dabc38785 Merge branch 'tapable' of github.com:Atinux/nuxt.js into tapable 2017-06-20 01:04:40 +02:00
Sébastien Chopin
0c68b67dcd Update maxEntrypointSize 2017-06-20 01:04:01 +02:00
Pooya Parsa
9fe3f0d334 webpack3: temporary disable scope hoisting
Currently it makes trouble with context.require
2017-06-20 01:15:48 +04:30