Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

Commit 83a91be

Browse files
committed
Fix rename issue
1 parent 9f8229f commit 83a91be

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

config/webpack.common.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
const webpack = require('webpack');
22
module.exports = {
3+
entry: {
4+
'vendors': [
5+
'react',
6+
'react-dom'
7+
],
8+
'react-bootstrap-xeditable': './src/index.js',
9+
},
310
devtool: 'source-map',
411
resolve: {
512
extensions: ['', '.js', 'jsx']

config/webpack.prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ const helpers = require('./helpers');
77
const path = require('path');
88
module.exports = webpackMerge(commonConfig, {
99
entry: {
10-
'react-xeditable': helpers.root('src') + '/index.js',
10+
'react-bootstrap-xeditable': helpers.root('src') + '/index.js',
1111
},
1212
output: {
1313
path: helpers.root('dist'),
1414
filename: '[name].js',
15-
library: 'ReactXEditable',
15+
library: 'ReactBootstrapXEditable',
1616
libraryTarget: 'umd',
1717
},
1818
});

0 commit comments

Comments
 (0)