aboutsummaryrefslogtreecommitdiff
path: root/juick-www/webpack.config.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-08-24 14:48:50 +0300
committerGravatar Vitaly Takmazov2018-08-24 14:48:50 +0300
commit93c8d1a052753584a4f55118f6753a952a3089a9 (patch)
treeab39253d68a4fa33a428058a309dfaf71c3266b9 /juick-www/webpack.config.js
parent4fab4e8df0defce8338b48eda0349a15724d1d4e (diff)
drop www files
Diffstat (limited to 'juick-www/webpack.config.js')
-rw-r--r--juick-www/webpack.config.js53
1 files changed, 0 insertions, 53 deletions
diff --git a/juick-www/webpack.config.js b/juick-www/webpack.config.js
deleted file mode 100644
index 457ab41a..00000000
--- a/juick-www/webpack.config.js
+++ /dev/null
@@ -1,53 +0,0 @@
-const webpack = require("webpack")
-const MiniCssExtractPlugin = require("mini-css-extract-plugin")
-const StyleLintPlugin = require('stylelint-webpack-plugin')
-
-module.exports = {
- devtool: 'source-map',
- entry: {
- "scripts": [
- __dirname + "/src/main/assets/scripts.js",
- require.resolve('evil-icons/assets/evil-icons.js')
- ],
- "style": [
- __dirname + "/src/main/assets/style.css",
- require.resolve('evil-icons/assets/evil-icons.css'),
- require.resolve('awesomplete/awesomplete.css')
- ]
- },
- output: {
- path: __dirname + "/src/main/resources/static",
- filename: "[name].js"
- },
- module: {
- rules: [
- { test: /\.jsx?$/, loader: 'eslint-loader', enforce: 'pre', exclude: /node_modules/, options: { failOnWarning: false, failOnError: true, fix: true } },
- { test: /\.js$/, loader: 'babel-loader', query: { presets: ['env'] } },
- {
- test: /\.css$/,
- use: [
- MiniCssExtractPlugin.loader,
- {
- loader: "css-loader"
- },
- {
- loader: "postcss-loader", options: {
- plugins: () => [
- require('autoprefixer')({
- browsers: 'last 4 versions, > 1%, ie >= 8'
- })
- ]
- }
- }
- ]
- },
- { test: /\.png$/, loader: "url-loader?limit=10000000000" },
- { test: /\.svg$/, loader: "url-loader?limit=10000000000" }
- ]
- },
- plugins: [
- new StyleLintPlugin({ configFile: '.stylelintrc.json', context: 'src/main/assets', files: ['**/*.css'], emitErrors: false }),
- new MiniCssExtractPlugin({ filename: "style.css", allChunks: true })
- ],
-
-}