aboutsummaryrefslogtreecommitdiff
path: root/juick-ws/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'juick-ws/webpack.config.js')
-rw-r--r--juick-ws/webpack.config.js29
1 files changed, 0 insertions, 29 deletions
diff --git a/juick-ws/webpack.config.js b/juick-ws/webpack.config.js
deleted file mode 100644
index e6d33a06..00000000
--- a/juick-ws/webpack.config.js
+++ /dev/null
@@ -1,29 +0,0 @@
-var webpack = require("webpack");
-var globby = require("globby");
-var precss = require('precss');
-var autoprefixer = require('autoprefixer');
-var ExtractTextPlugin = require("extract-text-webpack-plugin")
-module.exports = {
- entry: {
- "scripts" : globby.sync([
- __dirname + "/src/main/static/*.*"
- ])
- },
- output: {
- path: __dirname + "/src/main/webapp",
- filename: "[name].js"
- },
- module: {
- loaders: [
- { test: /\.css$/, loader: ExtractTextPlugin.extract("style-loader", "css-loader!postcss-loader") }
- ]
- },
- plugins: [
- new ExtractTextPlugin("style.css", {
- allChunks: true
- })
- ],
- postcss: function() {
- return [require("postcss-import")({ addDependencyTo: webpack, path: ['node_modules'] }), precss({'import': {disable: true}}), autoprefixer];
- }
-} \ No newline at end of file