mirror of
https://github.com/Eugeny/tabby
synced 2024-11-14 08:57:21 +00:00
15 lines
394 B
JavaScript
15 lines
394 B
JavaScript
|
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
|
||
|
}
|