wix-style-react
Version:
25 lines (22 loc) • 490 B
JavaScript
const { execSync } = require('child_process');
const yoshiCdnPort = execSync('detect', { encoding: 'utf8' }); // get random open port
module.exports = {
entry: {
app: 'index.js',
},
externals: {
react: 'React',
'react-dom': 'ReactDOM',
Wix: 'Wix',
},
externalUnprocessedModules: [
'get-own-enumerable-property-symbols',
'stringify-object',
],
exports: 'wix-style-react',
servers: {
cdn: {
port: parseInt(yoshiCdnPort, 10),
},
},
};