mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Merge pull request #2 from MiroslavDionisiev/UEPR-27
[UEPR-27] Added missing entry point
This commit is contained in:
commit
0f9e2c2483
1 changed files with 8 additions and 1 deletions
|
@ -13,6 +13,9 @@ const common = {
|
||||||
const nodeBuilder = new ScratchWebpackConfigBuilder(common)
|
const nodeBuilder = new ScratchWebpackConfigBuilder(common)
|
||||||
.setTarget('node')
|
.setTarget('node')
|
||||||
.merge({
|
.merge({
|
||||||
|
entry: {
|
||||||
|
'extension-worker': path.join(__dirname, 'src/extension-support/extension-worker.js')
|
||||||
|
},
|
||||||
output: {
|
output: {
|
||||||
library: {
|
library: {
|
||||||
name: 'VirtualMachine'
|
name: 'VirtualMachine'
|
||||||
|
@ -27,6 +30,9 @@ const nodeBuilder = new ScratchWebpackConfigBuilder(common)
|
||||||
const webBuilder = new ScratchWebpackConfigBuilder(common)
|
const webBuilder = new ScratchWebpackConfigBuilder(common)
|
||||||
.setTarget('browserslist')
|
.setTarget('browserslist')
|
||||||
.merge({
|
.merge({
|
||||||
|
entry: {
|
||||||
|
'extension-worker': path.join(__dirname, 'src/extension-support/extension-worker.js')
|
||||||
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
fallback: {
|
fallback: {
|
||||||
Buffer: require.resolve('buffer/')
|
Buffer: require.resolve('buffer/')
|
||||||
|
@ -65,7 +71,8 @@ const playgroundBuilder = webBuilder.clone()
|
||||||
},
|
},
|
||||||
entry: {
|
entry: {
|
||||||
'benchmark': './src/playground/benchmark',
|
'benchmark': './src/playground/benchmark',
|
||||||
'video-sensing-extension-debug': './src/extensions/scratch3_video_sensing/debug'
|
'video-sensing-extension-debug': './src/extensions/scratch3_video_sensing/debug',
|
||||||
|
'extension-worker': path.join(__dirname, 'src/extension-support/extension-worker.js')
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, 'playground'),
|
path: path.resolve(__dirname, 'playground'),
|
||||||
|
|
Loading…
Reference in a new issue