mirror of
https://github.com/encounter/objdiff.git
synced 2025-12-11 14:41:51 +00:00
WIP objdiff 3.0 refactor
This commit is contained in:
19
objdiff-wasm/rslib.config.ts
Normal file
19
objdiff-wasm/rslib.config.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
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' }],
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user