@okta/odyssey-babel-loader

1.15.9 • Public • Published

@okta/odyssey-babel-loader

Production Readiness

This project has not yet hit version 1.0.0 and is still in active development.

That said, it is beyond the early alpha stage in some key areas. For some early-adopters that means it is good enough to use for real things. Some other people think this means it is not ready yet.

Even though the project is in development, effort is still made to keep the API stable. Patch versions are intended for backwards-compatible changes and minor versions are intended for backwards-incompatible changes.

If you plan to use this for something real, you should either pin the exact version (maximum safety) or pin the major and minor versions (only accept backwards-compatible upgrades).

Getting Started

Install the package:

$ yarn add --dev @okta/odyssey-babel-loader

Reference the loader within your webpack configuration:

module.exports = {
  module: {
    rules: [
      {
        test: /\.(js|jsx|ts|tsx)$/,
        exclude: /node_modules/,
        use: {
          loader: "@okta/odssey-babel-loader",
        },
      },
    ],
  },
};

All of the configuration options available to babel-loader are available here as well. Additionally, an include option accepts an array of regular expressions or escaped regular expression strings to target style modules that may be using unconventional file extensions.

License

Apache Version 2.0

Support Disclaimer

This library is community supported and is maintained by members of the Okta team for developers and IT professionals. This library is not an official Okta product and does not qualify for any Okta support. Anyone who chooses to use this library must ensure that their implementation meets any applicable legal obligations including any Okta terms and conditions.

Readme

Keywords

none

Package Sidebar

Install

npm i @okta/odyssey-babel-loader

Weekly Downloads

562

Version

1.15.9

License

Apache-2.0

Unpacked Size

14.7 kB

Total Files

4

Last publish

Collaborators

  • oktauploader