diff --git a/packages/xpub-styleguide/src/webpack-config.js b/packages/xpub-styleguide/src/webpack-config.js index 6fb01a12bb25b975f071d18a0e7cb093c8912e1c..6f9f0f79a1d605e76d8a36c8a7dd9f0d1a962c69 100644 --- a/packages/xpub-styleguide/src/webpack-config.js +++ b/packages/xpub-styleguide/src/webpack-config.js @@ -25,13 +25,8 @@ module.exports = dir => { // whitelist: [/\.(?!js$).{1,5}$/i] // })], plugins: [ - // mock CONFIG + // mock constants new webpack.DefinePlugin({ - CONFIG: { - 'pubsweet-client': { - API_ENDPOINT: JSON.stringify('/') - } - }, PUBSWEET_COMPONENTS: '[]' }), ],