Skip to content

Commit eef4d08

Browse files
committed
Added sync export to automatically sync any module API
1 parent cef097b commit eef4d08

20 files changed

Lines changed: 182 additions & 9 deletions

File tree

build/dist.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ export default [
2020
file: './dist/worker.js',
2121
}
2222
},
23+
{
24+
plugins,
25+
input: './src/sync.js',
26+
output: {
27+
esModule: true,
28+
file: './dist/sync.js',
29+
}
30+
},
2331
{
2432
plugins,
2533
input: './src/window/main.js',
@@ -36,6 +44,14 @@ export default [
3644
file: './dist/window/worker.js',
3745
}
3846
},
47+
{
48+
plugins,
49+
input: './src/window/sync.js',
50+
output: {
51+
esModule: true,
52+
file: './dist/window/sync.js',
53+
}
54+
},
3955
{
4056
plugins,
4157
input: './src/server.js',

dist/main.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)