Commit Graph

26 Commits

Author SHA1 Message Date
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