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 23, 2020
1 parent 1ac91cf commit 859283b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import { Platform } from '@remax/types';

describe('runtime plugin', () => {
runTest('runtime-plugin', Platform.ali, path.resolve(__dirname, `./fixtures/runtime-plugin/expected`), {
externalsIgnore: ['@remax/runtime', '@remax/runtime-plugin'],
externalsIgnore: ['@remax/runtime', 'remax-runtime-plugin'],
});
});
2 changes: 1 addition & 1 deletion packages/remax-cli/src/build/webpack/config.mini.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default function webpackConfig(api: API, options: Options, target: Platfo
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'
'node_modules/remax-runtime-plugin.js'
);
const virtualModules = new VirtualModulesPlugin({
[pluginPath]: ejs.render(pluginTemplate, {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import PluginDriver from '../../PluginDriver';
import PluginDriver from '../PluginDriver';

export const pluginDriver = new PluginDriver([]);
2 changes: 1 addition & 1 deletion packages/remax-runtime/src/createAppConfig.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import './polyfills/Function';
import * as React from 'react';
import { pluginDriver } from '@remax/runtime-plugin';
import { pluginDriver } from 'remax-runtime-plugin';
import render from './render';
import AppContainer from './AppContainer';
import isClassComponent from './utils/isClassComponent';
Expand Down
2 changes: 1 addition & 1 deletion packages/remax-runtime/src/createPageConfig.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { pluginDriver } from '@remax/runtime-plugin';
import { pluginDriver } from 'remax-runtime-plugin';
import createPageWrapper from './createPageWrapper';
import { Lifecycle, callbackName, pageEvents } from './lifecycle';
import stopPullDownRefresh from './stopPullDownRefresh';
Expand Down
2 changes: 1 addition & 1 deletion packages/remax-runtime/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ declare const __REMAX_HOST_COMPONENTS__: any;
declare const __REMAX_ENTRY_INFO__: any;
declare const __REMAX_APP_EVENTS__: any;
declare const __REMAX_PAGE_EVENTS__: any;
declare module '@remax/runtime-plugin';
declare module 'remax-runtime-plugin';

0 comments on commit 859283b

Please sign in to comment.