diff --git a/examples/using-inferno/package.json b/examples/using-inferno/package.json index dcb96596500e..3cae68dedc1f 100644 --- a/examples/using-inferno/package.json +++ b/examples/using-inferno/package.json @@ -7,13 +7,11 @@ "start": "NODE_ENV=production node server.js" }, "dependencies": { - "inferno": "^1.0.7", - "inferno-compat": "^1.0.7", - "inferno-server": "^1.3.0-rc.9", + "inferno": "^1.4.0", + "inferno-compat": "^1.4.0", + "inferno-server": "^1.4.0", "module-alias": "^2.0.0", - "next": "^2.0.0-beta", - "react": "^15.4.2", - "react-dom": "^15.4.2" + "next": "^2.0.0-beta" }, "author": "", "license": "MIT" diff --git a/examples/using-preact/next.config.js b/examples/using-preact/next.config.js index 5a7cd53fc751..05cc46396e94 100644 --- a/examples/using-preact/next.config.js +++ b/examples/using-preact/next.config.js @@ -11,10 +11,6 @@ module.exports = { 'react-dom': 'preact-compat/dist/preact-compat' } - // Disable uglify. This has been fixed in https://github.com/developit/preact-compat/issues/155. - // Can be removed once there is a new preact-compat release. - config.plugins = config.plugins.filter((plugin) => (plugin.constructor.name !== 'UglifyJsPlugin')) - return config } } diff --git a/examples/using-preact/package.json b/examples/using-preact/package.json index 34d52adff4ec..e7a5e9c4abb4 100644 --- a/examples/using-preact/package.json +++ b/examples/using-preact/package.json @@ -1,5 +1,5 @@ { - "name": "hello-world", + "name": "using-preact", "version": "1.0.0", "scripts": { "dev": "node server.js", @@ -9,15 +9,9 @@ "dependencies": { "module-alias": "^2.0.0", "next": "^2.0.0-beta", - "preact": "^7.1.0", - "preact-compat": "^3.9.4", - "react": "^15.4.2", - "react-dom": "^15.4.2" + "preact": "^7.2.0", + "preact-compat": "^3.14.0" }, "author": "", - "license": "ISC", - "devDependencies": { - "babel-preset-es2015": "^6.18.0", - "babel-preset-react": "^6.16.0" - } + "license": "ISC" }