mirror of
https://github.com/encounter/objdiff.git
synced 2025-06-07 15:13:47 +00:00
20 lines
346 B
TypeScript
20 lines
346 B
TypeScript
import { defineConfig } from '@rslib/core';
|
|
|
|
export default defineConfig({
|
|
source: {
|
|
entry: {
|
|
'wasi-logging': 'lib/wasi-logging.ts',
|
|
},
|
|
},
|
|
lib: [
|
|
{
|
|
format: 'esm',
|
|
syntax: 'es2022',
|
|
},
|
|
],
|
|
output: {
|
|
target: 'web',
|
|
copy: [{ from: 'pkg' }, { from: '../objdiff-core/config-schema.json' }],
|
|
},
|
|
});
|