Skip to content
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

Adding custom files in webpack bundler #10

Open
goldytech opened this issue Oct 24, 2017 · 1 comment
Open

Adding custom files in webpack bundler #10

goldytech opened this issue Oct 24, 2017 · 1 comment

Comments

@goldytech
Copy link

Hi,
I'm using this plugin, I have a folder called 'schema' and under it are some json files which i want that webpack should include in its bundling. At the moment in the '.webpack' folder I'm only seeing the service folder and no schema folder. My function reads this json file and has the dependencies on them. Can you please let me know how can I achieve this ? At the moment I'm getting error if I try to read the file (File not found err) if I specify the custom path ('./myfile.json')

@jayair
Copy link
Member

jayair commented Oct 25, 2017

@goldytech Are you importing these files in your handler functions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants