Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/enactjs/babel-preset-enact
Babel preset used by Enact
https://github.com/enactjs/babel-preset-enact
Last synced: 24 days ago
JSON representation
Babel preset used by Enact
- Host: GitHub
- URL: https://github.com/enactjs/babel-preset-enact
- Owner: enactjs
- License: apache-2.0
- Created: 2022-10-19T05:04:32.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-04T08:50:31.000Z (30 days ago)
- Last Synced: 2024-12-04T09:37:19.226Z (30 days ago)
- Language: JavaScript
- Size: 695 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# babel-preset-enact
> This package includes the Babel preset used by Enact.
## Usage in Enact projects created by Enact CLI
The easiest way to use this configuration is with [Enact CLI](https://github.com/enactjs/cli), which includes it by default. You don’t need to install it separately in Enact projects.
## Usage Outside of Enact projects
If you want to use this Babel preset in a project not built with Enact CLI, you can install it with the following steps.
First, [install Babel](https://babeljs.io/docs/setup/).
Then install babel-preset-enact.
```sh
npm install babel-preset-enact --save-dev
```Then create a file named `.babelrc` with the following contents in the root folder of your project:
```json
{
"presets": ["babel-preset-enact"]
}
```For more information including `.babelrc` setup, please see the [Babel docs](https://babeljs.io/docs/config-files).
## Copyright and License Information
Unless otherwise specified, all content, including all source code files and
documentation files in this repository are:Copyright (c) 2023-2024 LG Electronics
Unless otherwise specified or set forth in the NOTICE file, all content,
including all source code files and documentation files in this repository are:
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this content except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.