- switch to modern html-bundler-webpack-plugin - replace deprecated `file-loader` and `url-loader` with Webpack 5 assets module - create single webpack config instead of two configs
8 lines
210 B
TypeScript
8 lines
210 B
TypeScript
import Clipboard from 'clipboard';
|
|
|
|
import '../../../main';
|
|
import '../../../main.css';
|
|
import './index.css';
|
|
|
|
// eslint-disable-next-line no-new
|
|
new Clipboard(document.getElementsByClassName('clipboard')[0]);
|