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:
parent
59a671e794
commit
029769d483
@ -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',
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user