Webpack config adjustment

This commit is contained in:
Francisco Hodge 2018-06-08 10:15:21 -04:00
parent 1aafdeee0a
commit 71136a0d5e
4 changed files with 5 additions and 4 deletions

View File

@ -60,7 +60,8 @@ module.exports = {
// CRL: Updated whole block with library specific info // CRL: Updated whole block with library specific info
path: paths.appDemoBuild, path: paths.appDemoBuild,
filename: 'index.js', filename: 'index.js',
libraryTarget: 'umd' libraryTarget: 'umd',
library: 'SimpleKeyboard'
}, },
resolve: { resolve: {
// This allows you to set a fallback for where Webpack should look for modules. // This allows you to set a fallback for where Webpack should look for modules.

View File

@ -57,7 +57,8 @@ module.exports = {
// CRL: Updated whole block with library specific info // CRL: Updated whole block with library specific info
path: paths.appBuild, path: paths.appBuild,
filename: 'index.js', filename: 'index.js',
libraryTarget: 'umd' libraryTarget: 'umd',
library: 'SimpleKeyboard'
}, },
resolve: { resolve: {
// This allows you to set a fallback for where Webpack should look for modules. // This allows you to set a fallback for where Webpack should look for modules.

View File

@ -1,6 +1,6 @@
{ {
"name": "simple-keyboard", "name": "simple-keyboard",
"version": "2.1.8", "version": "2.1.9",
"description": "On-screen Virtual Keyboard", "description": "On-screen Virtual Keyboard",
"main": "build/index.js", "main": "build/index.js",
"scripts": { "scripts": {

View File

@ -172,4 +172,3 @@ class SimpleKeyboard {
} }
export default SimpleKeyboard; export default SimpleKeyboard;
export {SimpleKeyboard};