- cc6d80e: Use get-tsconfig to parse a given tsconfig file
- e31de569: Update
@web/dev-server-rollup
to latest version
-
8218a0a5: Update ESBuild to latest version.
ESBuild has changed how TypeScript decorators are enabled in preparation for JavaScript decorators to land in browsers. ESBuild now requires the
experimentalDecorators
key to be set totrue
in thetsconfig.json
for TypeScript decorators to be enabled.If you are having issues with decorators after updating to this version, try setting the
experimentalDecorators
key in yourtsconfig.json
.
- c185cbaa: Set minimum node version to 18
- Updated dependencies [c185cbaa]
- @web/[email protected]
- ef6b2543: Use split versions for all lit dependencies
- 640ba85f: added types for main entry point
- Updated dependencies [640ba85f]
- @web/[email protected]
- Updated dependencies [7f0f4315]
- @web/[email protected]
- c26d3730: Update TypeScript
- Updated dependencies [c26d3730]
- @web/[email protected]
- febd9d9d: Set node 16 as the minimum version.
- Updated dependencies [ca715faf]
- Updated dependencies [febd9d9d]
- @web/[email protected]
- 8128ca53: Update @rollup/plugin-replace
- Updated dependencies [c103f166]
- @web/[email protected]
- 0f5631d0: chore(deps): bump ua-parser-js from 1.0.32 to 1.0.33
- 1b2ae08c: Bump the
esbuild
version to^0.16 || ^0.17
fix a decorator bug in 0.14 - Updated dependencies [ac05ca5d]
- Updated dependencies [acc0a84c]
- Updated dependencies [81db401b]
- @web/[email protected]
- cfc2aa1e: Expose banner/footer as a pass-through to esbuild transform
- 00da4255: Update es-module-lexer to 1.0.0
- Updated dependencies [00da4255]
- @web/[email protected]
-
d0e5e3f0: Add a
tsconfig
option which can be pointed towards your tsconfig.json to keep esbuild and typescript in sync.Usage example:
import { fileURLToPath } from 'url'; esbuildPlugin({ ts: true, tsconfig: fileURLToPath(new URL('./tsconfig.json', import.meta.url)), });
Note: Without the above code the
tsconfig.json
file will not be used.
- c1946b04: Relax
esbuild
semver dependency from^0.12.21
to^0.12 || ^0.13 || ^0.14
.
- d406c772: Do not process scripts with non-JS type attribute
- Updated dependencies [b2c081d8]
- @web/[email protected]
- 9f4940f0: Update ua-parser-js dependency to 1.0.2
- bf89ce23: Update dependency @mdn/browser-compat-data to v4
- 9f96e7be: Update esbuild dependency to ^0.12.21
- 90375262: Upgrade to esbuild ^0.11.0
- 020917c4: Do not override js loader with esbuild target
- Updated dependencies [780a3520]
- @web/[email protected]
- 87705b04: pass
esbuildconfig.define
to esbuild transform function
- c7f8d271: set esm format for non jslike loaders
- Updated dependencies [375116ad]
- @web/[email protected]
- Updated dependencies [0f613e0e]
- @web/[email protected]
- 28890a0: update to latest esbuild
- 46a01fb: filter unsupported sourcemap warnings
- 8111c2f: upgrade mdn-browser-compat-data to @mdn/browser-compat-data
- 201ffbd: updated esbuild dependency
- be76d89: exposed strict option for esbuild
- dc2d689: added esbuild auto and auto-always flags
- bb53e68: add support for JSON loader
- ce2a2e6: align dependencies
- aa65fd1: run build before publishing
- Updated dependencies [aa65fd1]
- @web/[email protected]
-
9be1f95: Added native node es module entrypoints. This is a breaking change. Before, native node es module imports would import a CJS module as a default import and require destructuring afterwards:
import playwrightModule from '@web/test-runner-playwright'; const { playwrightLauncher } = playwrightModule;
Now, the exports are only available directly as a named export:
import { playwrightLauncher } from '@web/test-runner-playwright';
- 62ff8b2: make tests work on windows
- Updated dependencies [96dd279]
- Updated dependencies [62ff8b2]
- Updated dependencies [9be1f95]
- @web/[email protected]
- 5a33916: support .js extensions in TS imports
- 38a8505: improve esbuild syntax error logging
- Updated dependencies [8596276]
- @web/[email protected]
- 8b94b03: update to esbuild 0.6.x
- 339722c: don't compile class fields when transforming ts
- 89214f0: update to latest esbuild
- Updated dependencies [59d3efe]
- @web/[email protected]
-
c4cb321: Use web dev server in test runner. This contains multiple breaking changes:
- Browsers that don't support es modules are not supported for now. We will add this back later.
- Most es-dev-server config options are no longer available. The only options that are kept are
plugins
,middleware
,nodeResolve
andpreserveSymlinks
. - Test runner config changes:
- Dev server options are not available on the root level of the configuration file.
nodeResolve
is no longer enabled by default. You can enable it with the--node-resolve
flag ornodeResolve
option.middlewares
option is now calledmiddleware
.testFrameworkImport
is now calledtestFramework
.address
is now split intoprotocol
andhostname
.
- Updated dependencies [c4cb321]
- @web/[email protected]
- 5da18d7: compile class fields strictly
- d1cc35c: set transform cache key
- Updated dependencies [9302247]
- @web/[email protected]
- a4d32b3: add auto compatibility mode
- 271ef35: allow setting loader for file extension
- bffc09b: fix package json main
- 52803c0: add esbuild plugin