Package Exports
- @weco/next-plugin-transpile-modules
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@weco/next-plugin-transpile-modules) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Next.js + Transpile node_module
Transpile untranspiled modules from your node_modules.
Makes it easy to have local libraries and keep a slick, manageable dev experience.
Installation
npm install --save @weco/next-plugin-transpile-modulesor
yarn add @weco/next-plugin-transpile-modulesUsage
// next.config.js
const withTM = require('@weco/next-plugin-transpile-modules')
module.exports = withTM({
transpileModules: ['@weco']
})