Skip to content

Commit

Permalink
Upgrade rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn committed Jun 12, 2024
1 parent 2fb7065 commit 0a360b6
Show file tree
Hide file tree
Showing 7 changed files with 1,336 additions and 2,723 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
"publish": "lerna publish --yes --no-private"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/preset-env": "^7.22.14",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.11",
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-terser": "^0.4.3",
"execa": "^5.1.1",
"execa": "^9.2.0",
"lerna": "^6.6.2",
"rollup": "^3.28.1",
"rollup": "^4.18.0",
"turbo": "^2.0.3"
},
"packageManager": "[email protected]"
Expand Down
4 changes: 2 additions & 2 deletions packages/next-intl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@
"publint": "^0.2.7",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"rollup": "^3.28.1",
"rollup-plugin-preserve-directives": "0.2.0",
"rollup": "^4.18.0",
"rollup-plugin-preserve-directives": "0.4.0",
"size-limit": "^8.2.6",
"typescript": "^5.2.2",
"vitest": "^1.0.1"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env node */
const preserveDirectives = require('rollup-plugin-preserve-directives').default;
const getBuildConfig = require('../../scripts/getBuildConfig');
import preserveDirectives from 'rollup-plugin-preserve-directives';
import getBuildConfig from '../../scripts/getBuildConfig.mjs';

const config = {
input: {
Expand Down Expand Up @@ -29,7 +29,7 @@ const config = {
plugins: [preserveDirectives()]
};

module.exports = [
export default [
getBuildConfig({
...config,
env: 'development'
Expand Down
2 changes: 1 addition & 1 deletion packages/use-intl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"publint": "^0.2.7",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"rollup": "^3.28.1",
"rollup": "^4.18.0",
"size-limit": "^8.2.6",
"typescript": "^5.2.2",
"vitest": "^1.0.1"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-env node */
const getBuildConfig = require('../../scripts/getBuildConfig');
import getBuildConfig from '../../scripts/getBuildConfig.mjs';

const input = {
index: 'src/index.tsx',
Expand All @@ -9,7 +9,7 @@ const input = {
_IntlProvider: 'src/_IntlProvider.tsx'
};

module.exports = [
export default [
getBuildConfig({input, env: 'development'}),
getBuildConfig({
input,
Expand Down
Loading

0 comments on commit 0a360b6

Please sign in to comment.