We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 960f79a commit 28cd0aeCopy full SHA for 28cd0ae
webpack/webpack.web.js
@@ -3,18 +3,20 @@
3
const path = require('path')
4
const webpackMerge = require('webpack-merge')
5
6
-const commonConfig = require('./webpack.common.js')
+const commonConfig = require('./webpack.common.js')()
7
8
module.exports = function (options) {
9
- return webpackMerge(commonConfig(), {
+ delete commonConfig.externals;
10
+ return webpackMerge(commonConfig, {
11
output: {
12
libraryTarget: 'umd',
13
path: path.join(__dirname, '../dist/web'),
14
filename: 'contentstack-management.js'
15
},
16
resolve: {
17
fallback: {
- os: require.resolve('os-browserify/browser')
18
+ os: require.resolve('os-browserify/browser'),
19
+ fs: false
20
}
21
22
module: {
0 commit comments