From 00f1fc39fad4f19f197d2a22f9d780e1219363bd Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Tue, 8 Sep 2020 16:52:31 +0200 Subject: [PATCH] Changed webpack config to use require. --- webpack.config.babel.js => webpack.config.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename webpack.config.babel.js => webpack.config.js (85%) diff --git a/webpack.config.babel.js b/webpack.config.js similarity index 85% rename from webpack.config.babel.js rename to webpack.config.js index 2f1f93eb..c6a5b0e7 100644 --- a/webpack.config.babel.js +++ b/webpack.config.js @@ -1,9 +1,9 @@ -import path from 'path'; -import VueLoaderPlugin from 'vue-loader/lib/plugin'; -import MiniCssExtractPlugin from 'mini-css-extract-plugin'; -import autoprefixer from 'autoprefixer'; +const path = require('path'); +const VueLoaderPlugin = require('vue-loader/lib/plugin'); +const MiniCssExtractPlugin = require('mini-css-extract-plugin'); +const autoprefixer = require('autoprefixer'); -export default { +module.exports = { entry: './assets/js/main.js', output: { filename: 'bundle.js',