This commit is contained in:
@@ -5,8 +5,8 @@ const path = require('path');
|
||||
module.exports = {
|
||||
entry: './src/index.tsx',
|
||||
output: {
|
||||
filename: '<plugin-name>.js',
|
||||
library: '<plugin-name>',
|
||||
filename: 'TestPlugin.js',
|
||||
library: 'TestPlugin',
|
||||
libraryTarget: 'umd',
|
||||
publicPath: '/',
|
||||
globalObject: 'this',
|
||||
@@ -49,6 +49,10 @@ module.exports = {
|
||||
use: 'ts-loader',
|
||||
exclude: /node_modules/,
|
||||
},
|
||||
{
|
||||
test: /\.(gif)$/i,
|
||||
type: 'asset/resource',
|
||||
},
|
||||
],
|
||||
},
|
||||
resolve: {
|
||||
|
||||
Reference in New Issue
Block a user