修改raxengine引入包

This commit is contained in:
荣彬 2020-07-21 19:51:12 +08:00
parent 635b2e0091
commit dedaea7200
3 changed files with 6 additions and 8 deletions

View File

@ -1,12 +1,5 @@
{
"plugins": [
[
"build-plugin-rax-component",
{
"type": "rax",
"targets": ["web"]
}
],
[
"build-plugin-component",
{

View File

@ -0,0 +1,5 @@
module.exports = ({ onGetWebpackConfig }) => {
onGetWebpackConfig((config) => {
config.performance.hints(false);
});
};

View File

@ -1,6 +1,6 @@
import { Fragment, Component, createElement } from 'rax';
// import { observer } from './obx-rax/observer';
import RaxEngine from '../../rax-render/src/index';
import RaxEngine from '@ali/lowcode-rax-renderer';
import { SimulatorRenderer } from './renderer';
import { host } from './host';