Giter Site home page Giter Site logo

sinanmtl / webpack-simple-starter Goto Github PK

View Code? Open in Web Editor NEW
671.0 671.0 40.0 1.44 MB

A simple webpack starter without framework (Like Vue, React, Angular, etc.)

License: MIT License

JavaScript 42.40% CSS 20.91% HTML 36.69%
simple starter starter-kit webpack webpack3

webpack-simple-starter's Issues

Compile only modified pug files

When a single pug file changes, webpack compiles all the pug files through the loader. Just for 5 pug files, it takes 4 seconds to compile and reload. Is it possible to compile only modified pug file?

I have looked at cache-loader but that doesnt work.

Curiosity: Why not webpack-dev-server?

Saw this trending on HN, congrats :)

Out of curiosity, I'd like to ask why you chose to roll your own dev-server.js script, rather than use webpack-dev-server. I maintain that part of webpack at the moment, and I was curious not only in the decision, but if there were any deeper reasons behind it, and if we might be able to get webpack-dev-server get to a better state.

Cheers ๐Ÿป

can't link to other html pages in development mode

I created a few pug pages, but only see the index page in the browser. Pages are all in the views/pages folder. Tried relative and absolute paths but they're not there when the devserver starts.

Thanks for the killer setup btw, not that known with webpack yet so this helps alot.

base64 encoding

Base64 encoding doesn't work. Both in pug and in scss. How can I add this functionality? Because url-loader is already in webpack.base.conf and it doesn't do anything.

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.