Skip to content

Commit 68b7546

Browse files
committed
perf(base): use base class for synchronous embedding and remove custom build of plugin
1 parent fbe6de7 commit 68b7546

30 files changed

Lines changed: 449 additions & 1409 deletions

build.json

Lines changed: 0 additions & 40 deletions
This file was deleted.

dist/embed.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rollup.es2015.config.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
var babel = require('rollup-plugin-babel');
21
var commonjs = require('rollup-plugin-commonjs');
32
var npm = require('rollup-plugin-npm');
4-
var replace = require('rollup-plugin-replace');
5-
var build = require('./build.json');
63
var pkg = require('./package.json');
74

85
var banner = "/*\n" +
@@ -28,8 +25,7 @@ var config = {
2825
}),
2926
commonjs({
3027
include: 'node_modules/**'
31-
}),
32-
replace(build)
28+
})
3329
]
3430
};
3531

rollup.umd.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
var babel = require('rollup-plugin-babel');
22
var commonjs = require('rollup-plugin-commonjs');
33
var npm = require('rollup-plugin-npm');
4-
var replace = require('rollup-plugin-replace');
5-
var build = require('./build.json');
64
var pkg = require('./package.json');
75
var filesize = require('rollup-plugin-filesize');
86

@@ -30,7 +28,6 @@ var config = {
3028
commonjs({
3129
include: 'node_modules/**'
3230
}),
33-
replace(build),
3431
babel(),
3532
filesize()
3633
]

0 commit comments

Comments
 (0)