Skip to content

Commit

Permalink
Remove ES6 destructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanbruegge committed Apr 10, 2017
1 parent adeb930 commit 9a20d66
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/cycle-scripts/configs/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,23 @@
// https://github.com/vuejs/vue-loader/issues/666
process.noDeprecation = true

const { createConfig, defineConstants, env, entryPoint, setOutput, sourceMaps, addPlugins } = require('@webpack-blocks/webpack2');
const webpack2Block = require('@webpack-blocks/webpack2');
const createConfig = webpack2Block.createConfig
const defineConstants = webpack2Block.defineConstant
const env = webpack2Block.env
const entryPoint = webpack2Block.entryPoint
const setOutput = webpack2Block.setOutput
const sourceMaps = webpack2Block.sourceMaps
const addPlugins = webpack2Block.addPlugins

const babel = require('@webpack-blocks/babel6');
const devServer = require('@webpack-blocks/dev-server2');
const typescript = require('@webpack-blocks/typescript');
const tslint = require('@webpack-blocks/tslint');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');

const path = require('path');

const babelConfig = {
Expand Down

0 comments on commit 9a20d66

Please sign in to comment.