Skip to content

Commit

Permalink
Merge pull request #3340 from openedx/merge-master-to-alpha
Browse files Browse the repository at this point in the history
chore: merge master -> alpha
  • Loading branch information
brian-smith-tcril authored Dec 11, 2024
2 parents d200546 + 8662f3f commit b82ef74
Show file tree
Hide file tree
Showing 2,338 changed files with 17,102 additions and 5,406 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,11 @@ perf(pencil): remove graphiteWidth option
BREAKING CHANGE: The graphiteWidth option has been removed. The default graphite width of 10mm is always used for performance reason.
```

#### Opening Pull Requests for Breaking Changes

Pull requests that include Breaking Changes must be opened against the `next` branch instead of `release-x.x`.
This ensures that breaking changes are accumulated and released together in the next major version, minimizing disruption for consumers.

## Treeshaking

Paragon is distributed on npm as ES6 modules. This means that webpack can use treeshaking on any Paragon components that a consuming app is not using, resulting in greatly reduced bundle sizes.
Expand Down
20 changes: 4 additions & 16 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,14 @@
{
"presets": [
[
"@babel/preset-env",
{
"modules": false
}
],
"@babel/preset-react",
["@babel/preset-env", { "modules": false } ],
["@babel/preset-react", { "useSpread": true } ],
"@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-class-properties"
],
"env": {
"test": {
"plugins": ["@babel/plugin-proposal-class-properties"],
"presets": [
[
"@babel/preset-env"
],
"@babel/preset-react",
["@babel/preset-env", {}],
["@babel/preset-react", { "useSpread": true } ],
"@babel/preset-typescript"
]
}
Expand Down
Loading

0 comments on commit b82ef74

Please sign in to comment.