Antoine du Hamel
3e796e2c0f
meta: add support for Fragment short syntax ( #4953 )
2024-02-26 11:43:43 +01:00
Antoine du Hamel
5044230bf1
meta: upgrade all dev dependencies ( #3903 )
2022-08-16 22:39:28 +02:00
Antoine du Hamel
848aa858e1
meta: replace browserify with esbuild ( #3363 )
...
* meta: build bundle using esbuild
* meta: don't use terser to build minified bundle
* website: use esbuild instead of browserify
* remove disc and disc.html
* Update lock file
* Simplify inject script
* nits
* fix `yarn start`
2022-01-13 15:22:01 +01:00
Merlijn Vos
274a3a0241
Force include babel numeric separator ( #3422 )
2022-01-11 13:30:22 +03:00
Antoine du Hamel
0ab304cf19
meta: use Vite for examples/dev ( #3361 )
...
It's a bit hacky, but it works :)
We should be getting even more performance when we switch to ESM and
stop using JSX in `.js` files.
2021-12-13 14:54:28 +01:00
Antoine du Hamel
78268d00fd
build: force use of @babel/plugin-proposal-optional-chaining ( #3335 )
2021-11-30 13:20:39 +01:00
Antoine du Hamel
8f489de00e
build: always inline package version when building
2021-08-09 15:04:29 +02:00
Antoine du Hamel
4bbd3b97b6
build: Add @babel/plugin-proposal-nullish-coalescing-operator babel plugin
...
Forces Babel to transplile `??` to ES6 syntax.
2021-08-02 16:12:14 +02:00
Antoine du Hamel
823453a3d6
build: remove @babel/polyfill in favor of core-js@3 ( #3025 )
...
Also removes Babel plugin that have been merged in `@babel/preset-env`
from our dependencies.
Also switch back to the default value for the `modules` options:
> Setting this to false will preserve ES modules. Use this only if you
> intend to ship native ES Modules to browsers. If you are using a
> bundler with Babel, the default modules: "auto" is always preferred.
Refs: https://babel.dev/docs/en/babel-preset-env#options
Refs: https://github.com/zloirock/core-js/blob/HEAD/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md
2021-07-19 23:21:25 +02:00
Kevin van Zonneveld
764c2ccada
Update Linter ( #2796 )
...
* relocate .vscode
* Switch to transloadit linter
* Update .eslintrc.json
* autofix code
* unlink and install eslint-config-transloadit@1.1.1
* Change 0 to "off"
* Don't change 'use strict'
* Do not vertically align
* disable key-spacing
* add import/no-extraneous-dependencies per package
* add more react/a11y warnings
* Revert "autofix code"
This reverts commit 14c8a8cde8 .
* add import/no-extraneous-dependencies per example and main package
* autofix code (2)
* Allow devDependencies in ./bin
* Change import/no-extraneous-dependencies to warn again
* upgrade linter
* Set import/no-extraneous-dependencies to warn
2021-03-15 16:25:17 +00:00
Renée Kooi
c62ec3665d
Update eslint to v6 ( #1777 )
...
* Update eslint
* Do eslint --fix
* Do not access Object.prototype method 'hasOwnProperty' from target object
* utils: add hasProperty
* eslint --fix
* Disable quote-props for locale files
* add back quotes in locale files
* revert locale files to state on master
* Update react-scripts
2019-08-13 21:45:30 +03:00
Renée Kooi
980210f76c
Add VERSION properties to all plugins.
...
And remove the proposal-object-rest-spread plugin because it is built
into preset-env now.
2019-05-27 16:53:47 +02:00
Renée Kooi
bc6da2a637
Run build after version bump
2019-05-27 16:53:27 +02:00
Renée Kooi
aced95aad2
Upgrade Babel to v7 and Jest to 24
2019-05-20 11:27:00 +02:00