Ver a proveniência

Embeds css in webview html

main
Eric Amodio há 4 anos
ascendente
cometimento
f4cab5de51
1 ficheiros alterados com 2 adições e 0 eliminações
  1. +2
    -0
      webpack.config.js

+ 2
- 0
webpack.config.js Ver ficheiro

@ -283,6 +283,7 @@ function getWebviewsConfig(mode, env) {
excludeAssets: [/.+-styles\.js/],
filename: path.join(__dirname, 'dist/webviews/settings.html'),
inject: true,
inlineSource: mode === 'production' ? '.css$' : undefined,
cspPlugin: {
enabled: true,
policy: cspPolicy,
@ -311,6 +312,7 @@ function getWebviewsConfig(mode, env) {
excludeAssets: [/.+-styles\.js/],
filename: path.join(__dirname, 'dist/webviews/welcome.html'),
inject: true,
inlineSource: mode === 'production' ? '.css$' : undefined,
cspPlugin: {
enabled: true,
policy: cspPolicy,

Carregando…
Cancelar
Guardar