Use .module.css extension for CSS Modules

This commit is contained in:
Jason Miller
2020-08-12 18:14:16 -04:00
parent d0f5d5a644
commit 3f0e31c529
37 changed files with 34 additions and 35 deletions

View File

@@ -2,7 +2,7 @@ import { h, Component } from 'preact';
import PinchZoom, { ScaleToOpts } from './custom-els/PinchZoom';
import './custom-els/PinchZoom';
import './custom-els/TwoUp';
import * as style from './style.scss';
import * as style from './style.module.scss';
import { bind, linkRef } from '../../lib/initial-util';
import { shallowEqual, drawDataToCanvas } from '../../lib/util';
import {
@@ -13,7 +13,7 @@ import {
ToggleBackgroundActiveIcon,
RotateIcon,
} from '../../lib/icons';
import { twoUpHandle } from './custom-els/TwoUp/styles.css';
import { twoUpHandle } from './custom-els/TwoUp/styles.module.css';
import { InputProcessorState } from '../../codecs/input-processors';
import { cleanSet } from '../../lib/clean-modify';
import { SourceImage } from '../compress';