forked from DebaucheryLibrarian/traxxx
Changed webpack config to use require.
This commit is contained in:
parent
8aaa88770f
commit
00f1fc39fa
|
@ -1,9 +1,9 @@
|
||||||
import path from 'path';
|
const path = require('path');
|
||||||
import VueLoaderPlugin from 'vue-loader/lib/plugin';
|
const VueLoaderPlugin = require('vue-loader/lib/plugin');
|
||||||
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||||
import autoprefixer from 'autoprefixer';
|
const autoprefixer = require('autoprefixer');
|
||||||
|
|
||||||
export default {
|
module.exports = {
|
||||||
entry: './assets/js/main.js',
|
entry: './assets/js/main.js',
|
||||||
output: {
|
output: {
|
||||||
filename: 'bundle.js',
|
filename: 'bundle.js',
|
Loading…
Reference in New Issue