I feel like this must be a rookie mistake on my part.
How can one get Chrome to show sources files instead of compiled app.css? I'm sure this must be possible as how else would I develop my css files?
When I run npm run dev or watch I can only get chrome devtools to reference CSS in app.css.
I would prefer it to reference the individual css files I have included in resources/css/app.css Is this possible to do? I'm new to webpack and am struggling to find a good key work to use in google search to get the correct results.
In resources/css/app.css I have the following
@import "styleHead.css";
@import "bootstrap.min.css";
@import "bootstrap-overide.css";
@import "gtdb.css";
@import "style.css";
// I have also tried this but same results.
@import "../../public/css/styleHead.css";
@import "../../public/css/bootstrap.min.css";
@import "../../public/css/bootstrap-overide.css";
@import "../../public/css/gtdb.css";
@import "../../public/css/style.css";
In webpack.mix.js I have
mix.options({
purifyCss: true,
});
mix.webpackConfig({
devtool: 'inline-source-map',
});
mix.js("resources/js/app.js", "public/js")
.postCss("resources/css/app.css", "public/css", [])
.options({
processCssUrls: false,
});
Please or to participate in this conversation.