From 447184ca4ae3f691c0b7007cbb1f002862f12566 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 2 Jun 2020 01:01:15 +0800 Subject: Upgrade packages. --- Timeline/ClientApp/webpack.common.ts | 57 ------------------------------------ 1 file changed, 57 deletions(-) delete mode 100644 Timeline/ClientApp/webpack.common.ts (limited to 'Timeline/ClientApp/webpack.common.ts') diff --git a/Timeline/ClientApp/webpack.common.ts b/Timeline/ClientApp/webpack.common.ts deleted file mode 100644 index c4e95e54..00000000 --- a/Timeline/ClientApp/webpack.common.ts +++ /dev/null @@ -1,57 +0,0 @@ -import webpack from 'webpack'; -import HtmlWebpackPlugin from 'html-webpack-plugin'; -import autoprefixer from 'autoprefixer'; -import htmlWebpackTemplate from 'html-webpack-template'; - -export const commonRules: webpack.RuleSetRule[] = [ - { - test: /\.css$/, - use: ['style-loader', 'css-loader'], - }, - { - test: /\.(scss)$/, - use: [ - 'style-loader', - 'css-loader', - { - loader: 'postcss-loader', - options: { - plugins: function () { - return [autoprefixer]; - }, - }, - }, - 'sass-loader', - ], - }, - { - test: /\.(png|jpe?g|gif|svg|woff|woff2|ttf|eot)$/i, - use: [ - { - loader: 'url-loader', - options: { - limit: 8192, - }, - }, - ], - }, -]; - -export const htmlCommonConfig: HtmlWebpackPlugin.Options = { - inject: false, - template: htmlWebpackTemplate, - - appMountId: 'app', - mobile: true, - - headHtmlSnippet: ` - - - - - - - - `, - title: 'Timeline', -}; -- cgit v1.2.3