Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix prod css/sass sourcemaps (#1793) #2282

Merged
merged 4 commits into from
Apr 2, 2020

Commits on Nov 20, 2019

  1. Fix prod css/sass sourcemaps (laravel-mix#1793)

    Sass sourcemaps fail to generate in production builds due to cssnano
    combined with OptimizeCSSAssetsPlugin.  Moving cssnano into
    postcss-loader resolves issue.
    
    More detail https://www.webfoobar.com/node/109
    
    Note eval-source-maps still will not work at all for CSS, so
    implementers must use `Mix.sourceMaps(true, 'source-map')` to allow
    development builds to successfully generate sourcemaps.
    bentaber committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    df3f71a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8978ccf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    220552f View commit details
    Browse the repository at this point in the history
  4. remove comment

    bentaber committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    6d55782 View commit details
    Browse the repository at this point in the history