Skip to content

Commit

Permalink
fix: revert build script changes for browser support
Browse files Browse the repository at this point in the history
  • Loading branch information
KaustubhKumar05 committed Sep 4, 2024
1 parent f0bab27 commit ebea42a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/build-webapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async function main() {
const external = [...Object.keys(pkg.dependencies || {}), ...Object.keys(pkg.peerDependencies || {})];
const loader = { '.js': 'jsx', '.svg': 'dataurl', '.png': 'dataurl' };
const define = { 'process.env': JSON.stringify(process.env) };
const target = ['safari11', 'es6'];
const target = 'es6';
const plugins = [
PostCssPlugin.default({
plugins: [autoprefixer],
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function main() {
const commonOptions = {
entryPoints: source,
bundle: true,
target: ['safari11', 'es6'],
target: 'es6',
external,
tsconfig: 'tsconfig.json',
minify: true,
Expand Down

0 comments on commit ebea42a

Please sign in to comment.