-
-
Notifications
You must be signed in to change notification settings - Fork 200
Combine Vanilla JS #149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Nope. webpack-encore is a builder for webpack configuration object. It does not implement any processing on its own. |
I've seen someone talk about this Webpack plugin in another issue (I think it was #136 but the response has been deleted since then). Never used it myself but based on its description it could fit your needs: const ConcatPlugin = require('webpack-concat-plugin');
Encore.addPlugin(new ConcatPlugin({
fileName: 'output.js',
filesToConcat: [
'./file1.js',
'./file2.js'
]
})) |
@stof thanks for the information. @Lyrkan thanks. i have already test that webpack plugin, then the problem is when i concat with hash file name, the filename does not include in i think its good if encore can create something like dispatch an event when creating the |
There is actually another issue about that (it didn't show up when searching for "concat"): #140 Looks like it could be solved after some changes in the Webpack Manifest Plugin. |
Hi, I am running into a similar problem with the concat js file not available in the manifest, I see that the issuer has been closed in the |
@weaverryan could it be that custom plugins are added after the manifest plugin (and so files they inject are not known by the manifest plugin) ? |
There are 2 things going on here:
tl;dr When v2 of that library is released, we should be able to start using it again (woo!) and then this issue will be closed. |
Closing. We now use the official webpack-manifest-plugin lib, and you can configure it via Cheers! |
is there a way to combining vanilla js?
something like https://laravel.com/docs/5.4/mix#vanilla-js
The text was updated successfully, but these errors were encountered: