Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed May 25, 2020
1 parent f915f3a commit d4830ae
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/remax-cli/src/build/webpack/config.mini.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,11 @@ export default function webpackConfig(api: API, options: Options, target: Platfo
.loader(require.resolve('file-loader'));

const pluginTemplate = fs.readFileSync(path.resolve(__dirname, '../../../template/plugin.js.ejs'), 'utf-8');
const pluginPath = path.join(
path.resolve(path.dirname(require.resolve('@remax/runtime')), '..'),
'node_modules/@remax/runtime-plugin.js'
const pluginPath = winPath(
path.join(
path.resolve(path.dirname(require.resolve('@remax/runtime')), '..'),
'node_modules/@remax/runtime-plugin.js'
)
);
const virtualModules = new VirtualModulesPlugin({
[pluginPath]: ejs.render(pluginTemplate, {
Expand Down

1 comment on commit d4830ae

@vercel
Copy link

@vercel vercel bot commented on d4830ae May 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

request to https://api.vercel.com/v10/now/deployments?teamId=team_O6jxAVk5SXc62OEILzoAcL22&skipAutoDetectionConfirmation=1 failed, reason: socket hang up

Please sign in to comment.