Configure the package to compile TypeScript and copy SCSS and image assets (PNG, SVG) to dist/ before publishing, rather than publishing raw source files. This allows us to use tsc-alias for @src imports. Also use a more modern export map to decouple the internal file structure from the package's API, and add a build step to CI. BREAKING CHANGE: Consuming projects may need to update their imports or SASS @use lines. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4 lines
107 B
JavaScript
4 lines
107 B
JavaScript
const { createConfig } = require('@openedx/frontend-base/tools');
|
|
|
|
module.exports = createConfig('babel');
|