diff options
author | Tayane Fernandes <tayane.rmf@gmail.com> | 2017-02-07 13:17:04 -0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-07 13:17:04 -0200 |
commit | 9a43c6aaddd360e9bed3d5fb58025de668ead713 (patch) | |
tree | 642df7644c39eb1855e35768bb4492bab9cf87b8 /web-ui/config/loaders-webpack.js | |
parent | 55e2f707fabc01735d0c185ded6682219ba0c555 (diff) | |
parent | b2b05f3868055578b8d0cafb7d08dd7742bd4bed (diff) |
Merge pull request #960 from pixelated/backup-email-page
[#922] Add html and css for the backup page
Diffstat (limited to 'web-ui/config/loaders-webpack.js')
-rw-r--r-- | web-ui/config/loaders-webpack.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/web-ui/config/loaders-webpack.js b/web-ui/config/loaders-webpack.js new file mode 100644 index 00000000..21e9a572 --- /dev/null +++ b/web-ui/config/loaders-webpack.js @@ -0,0 +1,20 @@ +module.exports = [ + { + test: /\.js$/, + exclude: /(node_modules|bower_components)/, + loader: 'babel', + query: { presets: ['es2015', 'react']} + }, + { + test: /\.scss|css$/, + loader: "style-loader!css-loader!sass-loader" + }, + { + test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, + loader: "url-loader?limit=10000&mimetype=application/font-woff" + }, + { + test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, + loader: "file-loader" + } +] |