From f9a8fa7bb68efc04ea89db28d2d7674d1a6eb250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Fri, 28 Oct 2022 12:00:05 +0200 Subject: [PATCH] Do not change css class names when building MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- rollup.config.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 7fbb1770c..59eb40d7f 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -15,8 +15,6 @@ import BabelLoaderExcludeNodeModulesExcept from 'babel-loader-exclude-node-modul import { DEFAULT_EXTENSIONS } from '@babel/core' const extensions = [...DEFAULT_EXTENSIONS, '.ts', '.tsx'] -const packageJson = require('./package.json'); - const translations = fs .readdirSync('./l10n') .filter(name => name !== 'messages.pot' && name.endsWith('.pot')) @@ -65,13 +63,12 @@ export default [ { input: 'styles/toast.scss', output: { - file: 'dist/index.css', - format: 'esm', + file: 'dist/index.css' }, plugins: [ postcss({ - modules: true, extract: true, + sourceMap: true, plugins: [ postcssurl({ url: 'inline',