diff options
author | gabriel giovanini <1408882-gabrielgio@users.noreply.gitlab.com> | 2022-03-23 20:08:49 +0000 |
---|---|---|
committer | gabriel giovanini <1408882-gabrielgio@users.noreply.gitlab.com> | 2022-03-23 20:08:49 +0000 |
commit | 6166cf8e4008b7d64053655f4093d0870a54ace1 (patch) | |
tree | 2d1f128e6e98e11eee7c5961ac571891d9affc1d /themes/ananke/src/webpack.config.js | |
parent | ac8603a37fad988e6c7da99c26ee91a3be34ef55 (diff) | |
download | gabrielgio.me-6166cf8e4008b7d64053655f4093d0870a54ace1.tar.gz gabrielgio.me-6166cf8e4008b7d64053655f4093d0870a54ace1.tar.bz2 gabrielgio.me-6166cf8e4008b7d64053655f4093d0870a54ace1.zip |
feat: Remove unused theme
Diffstat (limited to 'themes/ananke/src/webpack.config.js')
-rw-r--r-- | themes/ananke/src/webpack.config.js | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/themes/ananke/src/webpack.config.js b/themes/ananke/src/webpack.config.js deleted file mode 100644 index b11656d..0000000 --- a/themes/ananke/src/webpack.config.js +++ /dev/null @@ -1,57 +0,0 @@ -var path = require('path'); -var ExtractTextPlugin = require('extract-text-webpack-plugin'); -var webpack = require('webpack'); -var AssetsPlugin = require('assets-webpack-plugin'); - -module.exports = { - entry: { - app: './js/main.js' - }, - module: { - rules: [ - { - test: /\.js$/, - exclude: /node_modules/, - use: { - loader: 'babel-loader', - options: { - presets: ['env'] - } - } - }, - { - test: /\.css$/, - use: ExtractTextPlugin.extract({ - fallback: 'style-loader', - use: 'css-loader?importLoaders=1!postcss-loader' - }) - } - ] - }, - - output: { - path: path.join(__dirname, './../static/dist'), - filename: 'js/[name].[chunkhash].js' - }, - - resolve: { - modules: [path.resolve(__dirname, 'src'), 'node_modules'] - }, - - plugins: [ - new AssetsPlugin({ - filename: 'webpack_assets.json', - path: path.join(__dirname, '../data'), - prettyPrint: true - }), - new ExtractTextPlugin({ - filename: getPath => { - return getPath('css/[name].[contenthash].css'); - }, - allChunks: true - }) - ], - watchOptions: { - watch: true - } -}; |