Commit Graph

47 Commits

Author SHA1 Message Date
Dmitri Efimenko
092d9cd0ab Fix server build.extend context 2017-06-07 19:05:02 +03:00
Sébastien Chopin
ec9e334ed6 Merge pull request #776 from motia/build_dir
[feature] multiple nuxt apps in project
2017-05-28 12:44:25 +02:00
EGOIST
3acf300416 use webpack-node-externals 2017-05-24 21:04:17 +08:00
Mouti'a Benachour
923f907442 call .nuxt directory buildDir 2017-05-24 00:52:48 +01:00
Pooya Parsa
054df82200 Allow override NODE_ENV with env config.
This allows debugging SSR hydration problems easier in production. (#727 and #574)
2017-05-21 14:18:22 +04:30
Sébastien Chopin
2cb6e1e596 Add source map for SASS 2017-05-20 11:36:48 +02:00
Sébastien Chopin
4cd48f3927 Support ts 2017-05-20 11:36:35 +02:00
Johan Roxendal
63568ceb24 added sourcemaps support to scss-loader and css-loader 2017-05-09 13:24:55 +02:00
johan.roxendal@gu.se
b6c5428da5 scss should be handled by sass-loader 2017-05-07 21:46:57 +02:00
Sebastien Chopin
e148e4b93a Add extractCSS option 2017-05-05 17:53:21 +02:00
Sébastien Chopin
072216c045 Merge branch 'master' into fixes 2017-05-05 16:50:24 +02:00
Sebastien Chopin
333e3cf13a Add other extensions 2017-05-05 16:48:12 +02:00
Sebastien Chopin
39db08c95b Lint 2017-05-05 16:47:28 +02:00
Pooya Parsa
6504b0666a ESLint Fixes 2017-05-05 18:45:00 +04:30
Pooya Parsa
87172100c7 [vue-loader] allow using builtin extractCSS functionality
This option is disabled by default and won't affect exiting users.
However users can easily enable this option using `nuxt.build.extractCSS`

Implementation is according to:
- https://github.com/vuejs/vue-loader/tree/master/docs/en/configurations
- https://ssr.vuejs.org/en/css.html
- https://github.com/vuejs/vue-hackernews-2.0/tree/master/build
2017-04-30 16:28:25 +04:30
Pooya Parsa
d9ed6ecea9 integrate template with server renderer 2017-04-27 22:36:10 +04:30
Pooya Parsa
ac151a41f0 Basic vue-server-renderer/client-plugin integration 2017-04-27 15:50:43 +04:30
Pooya Parsa
8db3a22db9 deprecated vue-ssr-webpack-plugin in flavor of vue-server-renderer 2017-04-27 13:24:18 +04:30
Mihal Malostanidis
5e21a057aa Fix Ctrl-C Ctrl-V typo in comments 2017-04-25 14:03:26 +03:00
Sébastien Chopin
e69aa7c401 Simplify offline plugin 2017-04-17 15:27:32 +02:00
Sébastien Chopin
ec8291ea4c Fix lint style 2017-04-15 13:19:41 +02:00
Sebastien Chopin
b5330a063d Use cheap-module-source-map 2017-04-14 16:31:31 +02:00
Sébastien Chopin
2560bfb512 Merge branch 'master' into offline-plugin-integration 2017-04-08 11:33:32 +02:00
Walter Ye
e7bcdc736e pass 'this nuxt' context in extend webpack config
// nuxt.config
build: {
    extend (config, {dev, isClient}) {
      // get this context here
      config.resolve.alias['~services'] = join(this.srcDir, 'services');
    },
}
2017-04-01 13:34:09 +08:00
Sébastien Chopin
f6a02a1ac6 Disable performance hints for SSR 2017-03-27 18:06:57 +02:00
Sébastien Chopin
617999a60a Add manifest 2017-03-26 00:52:39 +01:00
Sébastien Chopin
89ed672f10 Add common pre-processors in nuxt 2017-03-25 03:38:19 +01:00
Sébastien Chopin
019d00fadb no source maps on production 2017-03-25 03:17:15 +01:00
Sébastien Chopin
7333e7a758 Update webpack perfs hints 2017-03-24 16:12:59 +01:00
Sébastien Chopin
221bcb5e33 Fix tests 2017-03-24 16:11:56 +01:00
Sébastien Chopin
1c3b2c077a Add build.vendor in externals too 2017-03-24 03:57:07 +01:00
Sébastien Chopin
d4db5792a4 Improve webpack config
- Remove filenames.css
- Add FriendlyErrorsWebpackPlugin()
- Add sourceMaps for UglifyJS
- Minify CSS for server-rendered pages
- Add css-loader for imports
2017-03-24 01:28:04 +01:00
Sébastien Chopin
64f83b71c3 Vue 2.2 and styles included 2017-03-22 15:47:34 +01:00
Sébastien Chopin
e8056f67eb Fix url starting with double slash 2017-03-16 18:52:38 +01:00
rohitpal
7eccd429ca fixed import 2017-03-12 05:32:28 +05:30
rohitpal
2da8ba84c9 offline-plugin-integration initial commit 2017-03-12 05:25:01 +05:30
Sébastien Chopin
40d52645e8 asyncData 2017-02-28 13:11:29 +01:00
Sébastien Chopin
996613ce8b prefetch only in production 2017-02-28 13:11:29 +01:00
Sébastien Chopin
0e2474c681 Check if app.html exists 2017-02-22 18:19:49 +00:00
Sébastien Chopin
6cc1231eb2 Add performance option 2017-02-21 17:39:29 +00:00
Sébastien Chopin
10c4b1550f Use HTML template + optimise cache control + gzip 2017-02-21 17:11:41 +00:00
Sébastien Chopin
2bb8f1fd58 Use vue-app preset for babel 2017-02-17 16:13:51 +01:00
Sébastien Chopin
376362ec39 Handle publicPath 2017-02-16 18:16:00 +01:00
Sébastien Chopin
c5b8d16a2b Add progress-bar when building 2017-02-08 14:09:59 +01:00
Sébastien Chopin
5cd0827b20 ~store is now an alias for the store instance 2017-02-01 00:45:30 +01:00
Sébastien Chopin
7552da1453 Add analyse option 2017-01-23 17:56:05 +01:00
Sébastien Chopin
ef4065b350 Move build folder inside lib 2017-01-19 16:25:32 +01:00