Coder Social home page Coder Social logo

adr1enbe4udou1n / express-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 23.43 MB

Lite Frontend boilerplate based on Bootstrap 4, with Webpack for assets management and Nunjucks as template engine.

License: MIT License

JavaScript 82.11% CSS 17.89%

express-boilerplate's Introduction

express-boilerplate's People

Contributors

adr1enbe4udou1n avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

express-boilerplate's Issues

SCSS not compiled in development

I am having an issue with my scss compiling into css when using commands that invoke NODE_ENV=development.

I can't seem to generate a 'public/css' directory, but the 'public/js' directory compiles just fine.

To me, inexperienced, it looks like it has to do with this section where the ExtractTextPlugin is disabled when the environment is "not production", so there is never an output to the 'css/' directory:

new ExtractTextPlugin({
 filename: production ? 'dist/css/[name].[contenthash].css' : 'css/[name].css',
 allChunks: true,
 disable: !production
}),
`

However, removing this disabled property, or even making it "false" doesn't fix my problem. So I don't know what I am doing wrong. The 'dist/css/' directory is compiled when running production.

Thanks,

Josh

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.