pinafore/webpack/shared.config.js
Nolan Lawson 098a20db49
feat: add full emoji picker using emoji-mart (#836)
* feat: add full emoji picker using emoji-mart

Fixes #4

* use a sailboat as the default emoji in the emoji picker

* fix tests

* fix lint
2018-12-18 00:43:51 -08:00

19 lines
379 B
JavaScript

const mode = process.env.NODE_ENV
const dev = mode === 'development'
const resolve = {
extensions: ['.js', '.json', '.html'],
mainFields: ['svelte', 'module', 'browser', 'main'],
alias: {
'react': 'inferno-compat',
'react-dom': 'inferno-compat',
'inferno': dev ? 'inferno/dist/index.dev.esm.js' : 'inferno'
}
}
module.exports = {
mode,
dev,
resolve
}