1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-09-11 13:13:59 +03:00
tabby/tabby-community-color-schemes/webpack.config.mjs

15 lines
394 B
JavaScript
Raw Permalink Normal View History

import * as path from 'path'
import * as url from 'url'
const __dirname = url.fileURLToPath(new URL('.', import.meta.url))
import config from '../webpack.plugin.config.mjs'
export default () => {
const cfg = config({
name: 'community-color-schemes',
dirname: __dirname,
})
cfg.module.rules.push({ test: /[\\\/]schemes[\\\/]/, use: 'raw-loader' })
return cfg
}