@enjin-io/snap
Version:
MetaMask snap for interacting with Enjin dApps
20 lines (17 loc) • 341 B
text/typescript
import { resolve } from 'path';
import type { SnapConfig } from '@metamask/snaps-cli';
const config: SnapConfig = {
bundler: 'webpack',
input: resolve(__dirname, 'src/index.tsx'),
server: {
port: 8080
},
output: {
path: 'dist',
filename: 'bundle.js'
},
polyfills: {
buffer: true
}
};
export default config;