feat: editor script's addEtraLib fn implemented

- webpack 5 raw loader implemted to fetch auto suggest script type definitions as string
This commit is contained in:
Nishchit14
2022-11-09 22:50:19 +05:30
parent 9c614178c2
commit f841577d03
7 changed files with 195 additions and 97 deletions

View File

@@ -163,6 +163,10 @@ exports.rules = [
'sass-loader', // compiles Sass to CSS
],
},
{
resourceQuery: /raw/,
type: 'asset/source',
},
{
test: /\.(woff|woff2|eot|ttf|otf)$/i,
type: 'asset/resource',