Skip to content
Snippets Groups Projects
  • Akihiko Odaki (@fn_aki@pawoo.net)'s avatar
    e98559c3
    Resolve custom application stylesheet with Webpack (#3373) · e98559c3
    Akihiko Odaki (@fn_aki@pawoo.net) authored
    This implementation is a bit smaller and still has the following benefits:
    
    * No need of app/javascript/packs/custom.js
    For custom stylesheet, it typically has only
    "require('../styles/custom.scss')" and is redundant.
    
    * No need to extract vendor stylesheet to another asset
    Extracting vendor stylesheet could be forgotten by developers who do not
    use custom stylesheet.
    e98559c3
    History
    Resolve custom application stylesheet with Webpack (#3373)
    Akihiko Odaki (@fn_aki@pawoo.net) authored
    This implementation is a bit smaller and still has the following benefits:
    
    * No need of app/javascript/packs/custom.js
    For custom stylesheet, it typically has only
    "require('../styles/custom.scss')" and is redundant.
    
    * No need to extract vendor stylesheet to another asset
    Extracting vendor stylesheet could be forgotten by developers who do not
    use custom stylesheet.