Skip to content

Commit

Permalink
Fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
purecatamphetamine committed Apr 3, 2018
1 parent c7a80e6 commit 5add9f6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions index.common.js
Expand Up @@ -9,6 +9,7 @@ exports = module.exports =
devtools : require('./build/devtools').default,
smokeScreen : require('./build/devtools').smokeScreen,
hideSmokeScreen : require('./build/devtools').hideSmokeScreen,
hideSmokeScreenAfter : require('./build/devtools').hideSmokeScreenAfter,

// for camelCased guys
serverConfiguration : require('./build/server configuration').default,
Expand Down
2 changes: 1 addition & 1 deletion index.es6.js
Expand Up @@ -2,7 +2,7 @@ export { default as server } from './es6/server'
export { default as server_configuration } from './es6/server configuration'
export { default as client_configuration } from './es6/client configuration'
export { default as prepare } from './es6/prepare'
export { default as devtools, smokeScreen as smokeScreen, hideSmokeScreen as hideSmokeScreen } from './es6/devtools'
export { default as devtools, smokeScreen as smokeScreen, hideSmokeScreen as hideSmokeScreen, hideSmokeScreenAfter as hideSmokeScreenAfter } from './es6/devtools'

// for camelCased guys
export { default as serverConfiguration } from './es6/server configuration'
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "universal-webpack",
"version": "0.6.4",
"version": "0.6.5",
"description": "Isomorphic Webpack",
"main": "index.common.js",
"module": "index.es6.js",
Expand Down
3 changes: 3 additions & 0 deletions test/exports.js
Expand Up @@ -10,6 +10,7 @@ import
devtools,
smokeScreen,
hideSmokeScreen,
hideSmokeScreenAfter,
serverConfiguration,
clientConfiguration,
babelRegisterOptions
Expand All @@ -27,6 +28,7 @@ describe(`exports`, function()
devtools.should.be.a('function')
smokeScreen.should.be.a('string')
hideSmokeScreen.should.be.a('string')
hideSmokeScreenAfter.should.be.a('function')

serverConfiguration.should.be.a('function')
clientConfiguration.should.be.a('function')
Expand All @@ -43,6 +45,7 @@ describe(`exports`, function()
_.devtools.should.be.a('function')
_.smokeScreen.should.be.a('string')
_.hideSmokeScreen.should.be.a('string')
_.hideSmokeScreenAfter.should.be.a('function')

_.serverConfiguration.should.be.a('function')
_.clientConfiguration.should.be.a('function')
Expand Down

0 comments on commit 5add9f6

Please sign in to comment.