Code Monkey home page Code Monkey logo

context-map-webpack-plugin's People

Stargazers

 avatar

Watchers

 avatar  avatar

context-map-webpack-plugin's Issues

Hey, is this plugin still OK for latest pug?

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?

Helps me on Build but not on Start

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.