-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
in-source: false allows Rescript files to be built to an external directory, instead of the build artefacts existing next to the source files.
Is this possible? I tried to specify it and tweak the mount options but I couldn't get it to work.
/** @type {import("snowpack").SnowpackUserConfig } */
module.exports = {
mount: {
public: { url: '/', static: true },
'lib/es6/src': { url: '/dist' },
src: { url: '/dist' },
},
plugins: [
'@snowpack/plugin-react-refresh',
'@snowpack/plugin-dotenv',
[
'@snowpack/plugin-run-script',
{
cmd: 'bsb -make-world',
watch: '$1 -w',
},
],
],
packageOptions: {
/* ... */
},
devOptions: {
/* ... */
},
buildOptions: {
/* ... */
},
alias: {
/* ... */
},
};Metadata
Metadata
Assignees
Labels
No labels