Use webpack-rc4

This commit is contained in:
Sébastien Chopin 2017-01-11 22:18:23 +01:00
parent 5a876d2a22
commit 6de6c0e16b
3 changed files with 14 additions and 6 deletions

9
index.js Normal file
View File

@ -0,0 +1,9 @@
/*
** Nuxt.js
** Made by Chopin Brothers
** @Atinux & @alexchopin
*/
var Nuxt = require('./dist/nuxt.js')
module.exports = Nuxt.default ? Nuxt.default : Nuxt

View File

@ -114,4 +114,4 @@ class Nuxt {
}
module.exports = Nuxt
export default Nuxt

View File

@ -10,7 +10,7 @@
"name": "Alexandre Chopin"
}
],
"main": "./dist/nuxt.js",
"main": "./index.js",
"license": "MIT",
"repository": {
"type": "git",
@ -18,7 +18,8 @@
},
"files": [
"bin",
"dist"
"dist",
"index.js"
],
"keywords": [
"nuxt",
@ -58,8 +59,6 @@
"cross-spawn": "^5.0.1",
"css-loader": "^0.26.1",
"debug": "^2.6.0",
"es6-object-assign": "^1.0.3",
"es6-promise": "^4.0.5",
"extract-text-webpack-plugin": "2.0.0-beta.4",
"file-loader": "^0.9.0",
"fs-extra": "^1.0.0",
@ -81,7 +80,7 @@
"vue-server-renderer": "^2.1.8",
"vue-template-compiler": "^2.1.8",
"vuex": "^2.1.1",
"webpack": "2.2.0-rc.3",
"webpack": "^2.2.0-rc.4",
"webpack-dev-middleware": "^1.9.0",
"webpack-hot-middleware": "^2.14.0"
},