Skip to content

Commit 5f81b11

Browse files
committed
fix js build
1 parent b161f42 commit 5f81b11

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bluecore-classnames",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Automatic class builder for React components",
55
"keywords": [
66
"react",

webpack.config.coffee

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ module.exports =
88
output:
99
path: path.resolve './dist'
1010
filename: 'index.js'
11+
libraryTarget: 'commonjs2'
12+
13+
externals:
14+
'react': 'react'
1115

1216
module:
1317
loaders: [

0 commit comments

Comments
 (0)