Created
August 3, 2022 14:58
-
-
Save phyllisstein/b29f773247e8e9a6d2ff739e034e8b3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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