1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-03-21 12:29:03 +01:00

(WIP) fix loading angular templates

This commit is contained in:
Sylvain 2022-03-15 17:11:32 +01:00
parent 59a671e794
commit 029769d483
2 changed files with 9 additions and 2 deletions

View File

@ -3,6 +3,13 @@ const path = require('path');
module.exports = {
test: /\.html$/i,
exclude: /node_modules/,
// type: 'asset/inline',
// generator: {
// dataUrl: {
// encoding: false,
// mimetype: 'application/javascript'
// }
// },
use: [
{
loader: 'ngtemplate-loader',

View File

@ -5,7 +5,7 @@ const path = require('path');
const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
const htmlErb = require('./modules/html_erb');
const js = require('./modules/js');
// const js = require('./modules/js');
const jsErb = require('./modules/js_erb');
const sass = require('./modules/sass');
const sassErb = require('./modules/sass_erb');
@ -40,7 +40,7 @@ const customConfig = {
jsErb,
htmlErb,
sassErb,
js,
// js,
html,
sass,
uiTour,