Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Do not change css class names when building
Signed-off-by: John Molakvoæ <[email protected]>
  • Loading branch information
skjnldsv committed Oct 28, 2022
commit f9a8fa7bb68efc04ea89db28d2d7674d1a6eb250
7 changes: 2 additions & 5 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down Expand Up @@ -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',
Expand Down