Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix safari v13 support #3218

Merged
merged 6 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: update build script
  • Loading branch information
KaustubhKumar05 committed Sep 3, 2024
commit 79c14d6cdc7bcde0fe02f5b95993704925c6a81e
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 = ['es2015', 'safari11', 'es6'];
const target = ['safari11', '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: ['es2015', 'safari11', 'es6'],
target: ['safari11', 'es6'],
external,
tsconfig: 'tsconfig.json',
minify: true,
Expand Down
Loading