Changed webpack config to use require.
This commit is contained in:
parent
8aaa88770f
commit
00f1fc39fa
|
@ -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',
|
Loading…
Reference in New Issue