Replies: 3 comments 2 replies
-
I'm experimenting with nuxt3 and need this feature (https://github.com/nuxt/framework/discussions/3376), would implementing this feature here make it available to my nuxt3 project? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I tried requesting this in esbuild, but because it's in transform mode it is not supported. |
Beta Was this translation helpful? Give feedback.
0 replies
-
My solution for this was to use rollup-plugin-licence build: {
rollupOptions: {
plugins: [
license({
thirdParty: {
output: path.resolve(__dirname, './dist/assets/vendor.LICENSE.txt'),
},
}),
],
},
}, and {
esbuild: {
banner: '/*! licenses: /assets/vendor.LICENSE.txt */',
legalComments: 'none',
},
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The functionality afforded by webpack-license-plugin is critical for enterprise usage and something very nice to have even for smaller teams. A good chunk of bundle sizes can be attributed to license text. Externalizing that into its own file that gets referenced should improve performance and load times.
Beta Was this translation helpful? Give feedback.
All reactions