mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-03-04 00:12:58 +08:00
Webpack config adjustment
This commit is contained in:
parent
1aafdeee0a
commit
71136a0d5e
@ -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.
|
||||||
|
@ -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.
|
||||||
|
@ -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": {
|
||||||
|
@ -172,4 +172,3 @@ class SimpleKeyboard {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default SimpleKeyboard;
|
export default SimpleKeyboard;
|
||||||
export {SimpleKeyboard};
|
|
||||||
|
Loading…
Reference in New Issue
Block a user