bastidest / context-map-webpack-plugin Goto Github PK
View Code? Open in Web Editor NEWWebpack plugin to map dynamic (thirdparty) dependencies to a static context map.
License: MIT License
Webpack plugin to map dynamic (thirdparty) dependencies to a static context map.
License: MIT License
Hi, thank you so much for this workaround!
I'm trying to bundle my AWS Lambda with PUG and getting the runtime error:
[~/IdeaProjects/***_backend]$ node run.local.js
TypeError: Cannot read property '1' of undefined
at isFileType (fs.js:168:16)
at Object.readFileSync (fs.js:345:16)
at ***/dist/webpack:/node_modules/uglify-js/tools/node.js:28:1
at Array.map (<anonymous>)
at Object.<anonymous> (***/dist/webpack:/node_modules/uglify-js/tools/node.js:27:1)
at __webpack_require__ (***/dist/webpack:/webpack/bootstrap:19:1)
at Object.<anonymous> (***/dost/webpack:/node_modules/pug-filters/lib/run-filter.js:4:14)
at __webpack_require__ (***/dist/webpack:/webpack/bootstrap:19:1)
at Object.<anonymous> (***/dist/webpack:/node_modules/pug-filters/index.js:3:21)
at __webpack_require__ (***/dist/webpack:/webpack/bootstrap:19:1)
Do you have an idea, what's wrong here?
Thanks for this library which helps us to build files with webpack however I am not able to start my stack with node dist/server
which gets me the same issue:
Error: Cannot find module '../lib/utils.js'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.