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

Migrate from Terser and Babel to SWC #6920

Merged
merged 29 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e9d2488
Add SWC plugin for Rollup
marklundin Sep 6, 2024
24067a7
Update SWC options for minification and debugging
marklundin Sep 6, 2024
613eab9
Update rollup version and add swc options
marklundin Sep 6, 2024
91d8edb
Refactor buildTarget function and swcOptions
marklundin Sep 9, 2024
bb1d6fd
Update package-lock.json and rollup-swc-options.mjs
marklundin Sep 10, 2024
eb0c36c
Merge branch 'main' into feat-swc-compiler
marklundin Sep 13, 2024
605d165
linting
marklundin Sep 13, 2024
73813d8
added strip plugin
marklundin Sep 13, 2024
813fb42
Skipping lib check for tsconfig
marklundin Sep 13, 2024
55f81b7
Merge branch 'main' into feat-swc-compiler
marklundin Sep 13, 2024
4040eff
Merge branch 'main' into feat-swc-compiler
marklundin Dec 24, 2024
c6cc9b9
Update package-lock.json to add peer dependencies and new modules
marklundin Dec 24, 2024
e676257
Remove babel-parser from ESLint configuration
marklundin Dec 24, 2024
b88166f
Refactor SWC plugin import in rollup build target
marklundin Dec 24, 2024
7dc81ba
Update package dependencies and clean up package-lock.json
marklundin Dec 24, 2024
6ce88a1
Remove rollup-script-target.mjs and update rollup-swc-options.mjs and…
marklundin Dec 24, 2024
7c927b9
Merge branch 'main' into feat-swc-compiler
marklundin Dec 24, 2024
ab2bc75
Update rollup-swc-options.mjs to maintain pure functions array format…
marklundin Dec 24, 2024
06d0677
Update package-lock.json to reflect dependency upgrades and removals
marklundin Dec 24, 2024
2522380
Update package.json and package-lock.json to add optional dependencie…
marklundin Dec 24, 2024
b136075
Update package.json and package-lock.json to upgrade @swc/core and re…
marklundin Dec 24, 2024
517210c
Merge branch 'main' into feat-swc-compiler
marklundin Dec 30, 2024
dfde90d
Refactor ESLint configuration by removing unnecessary parserOptions
marklundin Jan 6, 2025
fb82ea0
Merge branch 'main' into feat-swc-compiler
marklundin Jan 6, 2025
bc9e25d
Update package dependencies: remove @napi-rs/canvas, add canvas 3.0.1…
marklundin Jan 7, 2025
cab335f
Merge branch 'main' into feat-swc-compiler
marklundin Jan 9, 2025
5ac5dfa
Update @swc/core to version 1.10.4 in package.json and package-lock.json
marklundin Jan 9, 2025
d39b5e6
Refactor tsconfig.json: Remove skipLibCheck option from compilerOptions
marklundin Jan 9, 2025
ae7bcc4
Merge branch 'main' into feat-swc-compiler
marklundin Jan 9, 2025
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
5 changes: 0 additions & 5 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import playcanvasConfig from '@playcanvas/eslint-config';
import babelParser from '@babel/eslint-parser';
import globals from 'globals';

// Extract or preserve existing JSDoc tags
Expand All @@ -15,10 +14,6 @@ export default [
languageOptions: {
ecmaVersion: 2022,
sourceType: 'module',
parser: babelParser,
parserOptions: {
requireConfigFile: false
},
globals: {
...globals.browser,
...globals.mocha,
Expand Down
Loading
Loading