Skip to content

Commit

Permalink
adding the ts-loader and html rulesto the system-apps/app-prop-viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakshi Bobade committed Feb 20, 2025
1 parent 6e8ebc1 commit 66152fb
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions system-apps/app-prop-viewer/webClient/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,23 @@ var config = {
'path': path.resolve(__dirname, '../web/v3'),
'filename': 'main.js',
},
'module':{
'rules': [
{
test: /\.ts$/,
use: ['ts-loader', 'angular2-template-loader']
},
{
test: /\.html$/,
use: [
{
loader: 'html-loader',
options: { esModule: false }
}
]
},
]
},
'plugins': [
new CopyWebpackPlugin({
patterns: [
Expand Down

0 comments on commit 66152fb

Please sign in to comment.