shakacode / webpacker_lite

Slimmed down version of Webpacker with only the asset helpers optimized for, but not requiring, React on Rails
https://github.com/shakacode/react_on_rails
Other
46 stars 6 forks source link

Unmanifested Asset Helper #21

Open robwise opened 7 years ago

robwise commented 7 years ago

When using something like the DLL plugin, we are using a completely separate config to do that. Therefore, this file is not in the manifest, since we cannot share manifests between multiple webpack configs.

That's okay for the moment because my team only uses the DLL plugin in development, so we can make sure to not hash the DLL plugin, and then we don't require reading from the manifest. However, we still need to properly grab the files from the correct webpack directory.

I am going to add two more methods to the API:

justin808 commented 7 years ago

@robwise check out #20.