Update rollup config
This commit is contained in:
@@ -81,7 +81,7 @@ dirs.forEach((e) => {
|
||||
readDirs(e, allFiles);
|
||||
});
|
||||
export default allFiles
|
||||
.map((e) => e.replace(/.tsx*/, ""))
|
||||
.map((e) => e.replace(/\.tsx?$/, ""))
|
||||
.map((bundle) => {
|
||||
return {
|
||||
input: `build/${bundle}.js`,
|
||||
@@ -108,7 +108,7 @@ export default allFiles
|
||||
// If need ES5 support enable following configs
|
||||
// .concat(
|
||||
// allFiles
|
||||
// .map(e => e.replace(/.tsx*/, ''))
|
||||
// .map((e) => e.replace(/\.tsx?$/, ""))
|
||||
// .map(bundle => {
|
||||
// return {
|
||||
// input: `build/${bundle}.js`,
|
||||
|
Reference in New Issue
Block a user