diff options
author | Tayane Fernandes <tayane.rmf@gmail.com> | 2017-02-06 19:01:09 -0200 |
---|---|---|
committer | Tayane Fernandes <tayane.rmf@gmail.com> | 2017-02-06 19:02:20 -0200 |
commit | b2b05f3868055578b8d0cafb7d08dd7742bd4bed (patch) | |
tree | 642df7644c39eb1855e35768bb4492bab9cf87b8 /web-ui/webpack.config.js | |
parent | eab587344a275d7d4afb05b8682e4ff76df5da61 (diff) |
[#922] Add back link
with @anikarni
Diffstat (limited to 'web-ui/webpack.config.js')
-rw-r--r-- | web-ui/webpack.config.js | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/web-ui/webpack.config.js b/web-ui/webpack.config.js index c59ebb63..5886154a 100644 --- a/web-ui/webpack.config.js +++ b/web-ui/webpack.config.js @@ -1,6 +1,7 @@ var path = require('path'); var webpack = require('webpack'); var copyWebpack = require('./config/copy-webpack'); +var loaders = require('./config/loaders-webpack'); var aliases = require('./config/alias-webpack'); module.exports = { @@ -20,18 +21,7 @@ module.exports = { extensions: ['', '.js'] }, module: { - loaders: [ - { - test: /\.js$/, - exclude: /(node_modules|bower_components)/, - loader: 'babel', - query: { presets: ['es2015', 'react']} - }, - { - test: /\.scss|css$/, - loader: "style-loader!css-loader!sass-loader" - } - ] + loaders: loaders }, plugins: [copyWebpack, new webpack.DefinePlugin({ 'process.env': { |