Skip to content

Commit

Permalink
test without on prod
Browse files Browse the repository at this point in the history
  • Loading branch information
delambo committed Jan 22, 2025
1 parent a979917 commit 1352848
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions packages/kyt-core/src/config/webpack.prod.client.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ module.exports = options => ({
postcssLoader,
{
loader: 'sass-loader',
options: {
sourceMap: true,
sassOptions: {
pkgImporter: new NodePackageImporter(),
},
},
// options: {
// sourceMap: true,
// sassOptions: {
// pkgImporter: new NodePackageImporter(),
// },
// },
},
],
exclude: [publicSrcPath],
Expand Down
14 changes: 7 additions & 7 deletions packages/kyt-core/src/config/webpack.prod.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const webpack = require('webpack');
const nodeExternals = require('webpack-node-externals');
const { NodePackageImporter } = require('sass');
// const { NodePackageImporter } = require('sass');
const { serverSrcPath, serverBuildPath, publicSrcPath } = require('kyt-utils/paths')();
const postcssLoader = require('../utils/getPostcssLoader');
const getPolyfill = require('./getPolyfill');
Expand Down Expand Up @@ -54,12 +54,12 @@ module.exports = options => {
postcssLoader,
{
loader: 'sass-loader',
options: {
sourceMap: true,
sassOptions: {
pkgImporter: new NodePackageImporter(),
},
},
// options: {
// sourceMap: true,
// sassOptions: {
// pkgImporter: new NodePackageImporter(),
// },
// },
},
],
exclude: [publicSrcPath],
Expand Down

0 comments on commit 1352848

Please sign in to comment.