Updates to webpack.
This commit is contained in:
parent
cd26aea67f
commit
c6827928b9
|
@ -18,7 +18,7 @@ last-package-build.md5
|
||||||
src/views/admin/scss/.sass-cache
|
src/views/admin/scss/.sass-cache
|
||||||
src/assets/css/tainacan-admin.css
|
src/assets/css/tainacan-admin.css
|
||||||
src/assets/css/tainacan-admin.css.map
|
src/assets/css/tainacan-admin.css.map
|
||||||
src/assets/report.html
|
src/assets/js/report.html
|
||||||
.vscode
|
.vscode
|
||||||
src/pdf-viewer/pdfjs-dist
|
src/pdf-viewer/pdfjs-dist
|
||||||
report.txt
|
report.txt
|
||||||
|
|
|
@ -52,12 +52,13 @@ module.exports = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.vue$/,
|
test: /\.vue$/,
|
||||||
|
exclude: /node_modules/,
|
||||||
loader: 'vue-loader'
|
loader: 'vue-loader'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
|
exclude: /node_modules/,
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
exclude: /node_modules/
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.(png|jpg|jpeg|gif|eot|ttf|otf|woff|woff2|svg|svgz)(\?.+)?$/,
|
test: /\.(png|jpg|jpeg|gif|eot|ttf|otf|woff|woff2|svg|svgz)(\?.+)?$/,
|
||||||
|
@ -73,6 +74,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.s[ac]ss$/,
|
test: /\.s[ac]ss$/,
|
||||||
|
exclude: /node_modules/,
|
||||||
use: [
|
use: [
|
||||||
{
|
{
|
||||||
loader: 'style-loader',
|
loader: 'style-loader',
|
||||||
|
|
Loading…
Reference in New Issue