Updates to webpack.

This commit is contained in:
Mateus Machado Luna 2020-01-14 14:08:31 -03:00
parent cd26aea67f
commit c6827928b9
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@ -18,7 +18,7 @@ last-package-build.md5
src/views/admin/scss/.sass-cache
src/assets/css/tainacan-admin.css
src/assets/css/tainacan-admin.css.map
src/assets/report.html
src/assets/js/report.html
.vscode
src/pdf-viewer/pdfjs-dist
report.txt

View File

@ -52,12 +52,13 @@ module.exports = {
},
{
test: /\.vue$/,
exclude: /node_modules/,
loader: 'vue-loader'
},
{
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel-loader',
exclude: /node_modules/
},
{
test: /\.(png|jpg|jpeg|gif|eot|ttf|otf|woff|woff2|svg|svgz)(\?.+)?$/,
@ -73,6 +74,7 @@ module.exports = {
},
{
test: /\.s[ac]ss$/,
exclude: /node_modules/,
use: [
{
loader: 'style-loader',