ghost-keychain/packages/extension/webpack.extension.js
Jaco Greeff bf3561396f
Swap Webpack to esm builds (#580)
* Swap Webpack to esm builds

* Beauty is in the eye of the beerholder... readability.

* Bump deps

* Bump

* Bump

* Bumps

* Bump deps

* Split UI build, optimize with no WASM

* API 3.0
2020-12-14 10:42:49 +01:00

14 lines
333 B
JavaScript

// Copyright 2019-2020 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0
const createConfig = require('./webpack.shared.js');
module.exports = createConfig(
{
extension: './src/extension.ts'
},
{
'@polkadot/wasm-crypto-wasm': require.resolve('@polkadot/wasm-crypto-wasm/empty')
}
);