Skip to content

Instantly share code, notes, and snippets.

@phyllisstein
Created August 3, 2022 14:58
Show Gist options
  • Save phyllisstein/b29f773247e8e9a6d2ff739e034e8b3d to your computer and use it in GitHub Desktop.
Save phyllisstein/b29f773247e8e9a6d2ff739e034e8b3d to your computer and use it in GitHub Desktop.
import { babel, css } from '@nymag/configs/webpack/loaders/index.js'
import {
client,
development as developmentEnvironment,
} from '@nymag/configs/webpack/environments/index.js'
import {
context,
entrypoints,
resolveExtensions,
resolveModules,
} from '@nymag/configs/webpack/base/index.js'
import {
define,
html,
reactRefresh,
} from '@nymag/configs/webpack/plugins/index.js'
import R from 'ramda'
export const development = R.pipe(
developmentEnvironment(),
context(),
resolveModules(),
entrypoints({
client: ['./client'],
}),
resolveExtensions(),
babel(),
css(),
define({
__FOSSE_URL__: 'http://localhost:8800',
}),
reactRefresh(),
html(),
)(client({ name: 'verdon' }))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment