Skip to content

feat!: compile to JS before publishing#791

Draft
arbrandes wants to merge 1 commit intoopenedx:frontend-basefrom
arbrandes:frontend-base-compile-before-publishing
Draft

feat!: compile to JS before publishing#791
arbrandes wants to merge 1 commit intoopenedx:frontend-basefrom
arbrandes:frontend-base-compile-before-publishing

Conversation

@arbrandes
Copy link
Contributor

@arbrandes arbrandes commented Feb 6, 2026

Description

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.

Depends on

openedx/frontend-base#164

LLM Usage Notice

Built with assistance from Claude Opus 4.6.

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>
@arbrandes arbrandes force-pushed the frontend-base-compile-before-publishing branch from 05832dd to 523e507 Compare February 6, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant