Expose Tag,Button common components for premium

[PREMIUM-145]
This commit is contained in:
Rostislav Wolny
2020-08-27 10:15:09 +02:00
committed by Veljko V
parent bef8dfdbd6
commit cbc4820c6a
2 changed files with 10 additions and 0 deletions

View File

@ -129,6 +129,13 @@ const baseConfig = {
'babel-loader',
]
},
{
include: path.resolve(__dirname, 'assets/js/src/common/index.ts'),
use: [
'expose-loader?' + globalPrefix + '.Common',
'babel-loader',
]
},
{
include: /Blob.js$/,
loader: 'exports-loader?window.Blob',
@ -195,6 +202,7 @@ const adminConfig = {
'classnames',
'help-tooltip.jsx',
'listing/listing.jsx',
'common/index.ts',
'newsletters/badges/stats.jsx',
],
admin: 'webpack_admin_index.jsx',