mirror of
https://github.com/apache/superset.git
synced 2026-06-01 21:59:26 +00:00
now with sourcemaps! (#8637)
This commit is contained in:
committed by
Maxime Beauchemin
parent
acf0753504
commit
badcf820c9
@@ -203,7 +203,12 @@ const config = {
|
||||
],
|
||||
use: [
|
||||
isDevMode ? 'style-loader' : MiniCssExtractPlugin.loader,
|
||||
'css-loader',
|
||||
{
|
||||
loader: 'css-loader',
|
||||
options: {
|
||||
sourceMap: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -211,8 +216,18 @@ const config = {
|
||||
include: APP_DIR,
|
||||
use: [
|
||||
isDevMode ? 'style-loader' : MiniCssExtractPlugin.loader,
|
||||
'css-loader',
|
||||
'less-loader',
|
||||
{
|
||||
loader: 'css-loader',
|
||||
options: {
|
||||
sourceMap: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
loader: 'less-loader',
|
||||
options: {
|
||||
sourceMap: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
/* for css linking images */
|
||||
|
||||
Reference in New Issue
Block a user