mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
now with sourcemaps! (#8637)
This commit is contained in:
parent
acf0753504
commit
badcf820c9
@ -203,7 +203,12 @@ const config = {
|
|||||||
],
|
],
|
||||||
use: [
|
use: [
|
||||||
isDevMode ? 'style-loader' : MiniCssExtractPlugin.loader,
|
isDevMode ? 'style-loader' : MiniCssExtractPlugin.loader,
|
||||||
'css-loader',
|
{
|
||||||
|
loader: 'css-loader',
|
||||||
|
options: {
|
||||||
|
sourceMap: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -211,8 +216,18 @@ const config = {
|
|||||||
include: APP_DIR,
|
include: APP_DIR,
|
||||||
use: [
|
use: [
|
||||||
isDevMode ? 'style-loader' : MiniCssExtractPlugin.loader,
|
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 */
|
/* for css linking images */
|
||||||
|
Loading…
Reference in New Issue
Block a user