Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 3, 2021

Bumps next-transpile-modules from 4.1.0 to 7.0.0.

Release notes

Sourced from next-transpile-modules's releases.

7.0.0

Bonsoir! 👋 Following the release of Next.js 10.2, next-transpile-modules@7 is here!

v6 works perfectly with next@10.2.0, v7 only introduces an option default value change.

The breaking changes are indicated by the ⚠️ icon.

⚠️ resolveSymlinks: true by default

If you are using yarn/npm workspaces, it should not change anything, but compilation time and reloads will be faster.

If you are using npm/yarn link or npm's file:, you will need to set the option to false if you get compilation errors.

Webpack 5 support

Webpack 5 support is not experimental anymore! It will be disabled by default though, because this plugin updates the Next.js Webpack configuration. So if you want to use Webpack 5 (and enjoy all the bundles/compilation improvements), you'll need to explicitly enable it in your config:

// next.config.js
const withTM = require('next-transpile-modules')(['...']); 

module.exports = withTM({ future: { webpack5: true, }, });

I would like to thank everyone who helped working on that, you guys are absolutely awesome.

Fixed nested modules transpilation

Sometimes you want to transpile a nested modules, the following now works correctly:

const withTM = require('next-transpile-modules')(['some-deps', 'some-deps/node_modules/some-sub-deps']); 

TS declaration files

JSDoc was already provided for the best auto-completion experience possible, but next-transpile-modules now comes with .d.ts files in order to provide typings for those with custom setup using a next.config.ts.

They are not perfect though, so feel free to contribute to them if you want better typings.

6.4.1

  • Fixed Reference Error: module is not defined for some packages + Webpack 5

Thanks @​jacargentina for helping!

6.4.0

... (truncated)

Commits
  • 66482b0 Merge pull request #196 from martpie/next-10.2
  • ed4cc3d 7.0.0
  • 2a5d7bb Auto-generate .d.ts files
  • f79be6a Add flag on code that could be simplified
  • e580794 Remove Webpack 5 warning
  • c266899 Update compatibility table
  • dd27d96 Enable symlinks resolution by default
  • 36e66d3 Merge pull request #191 from BRKalow/brk.fix/allow-transpile-nested-modules
  • 857b32c Test new Next.js version (10.2.0) + Webpack 5 by default
  • 788c31a Improve error message when modules can't get resolved
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 3, 2021
@vercel
Copy link

vercel bot commented May 3, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/split-fi/split-interface/DAW99yxFSxgSQaoay2DagfZ6TFi3
✅ Preview: https://split-interfac-git-dependabot-npmandyarninterfacenext-tr-6feb3a.vercel.app

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 24, 2021

Superseded by #144.

@dependabot dependabot bot closed this May 24, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/interface/next-transpile-modules-7.0.0 branch May 24, 2021 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant