hangoocn
hangoocn
你好,我的意思是如果我本身想要在我自己项目里面开启 html-webpack-plugin的removeComents,那么是不是会和page-skeleton-webpack-plugin有冲突?有没有办法让它先replace完了再去removeComments啊
我把removeComments从 html-webpack-plugin 搬到了page-skeleton-webpack-plugin, 问题解决了,大神你的插件帮了我很大忙,多谢多谢
new HtmlWebpackPlugin({ inject: true, template: paths.appHtml, minify: { removeComments: true }, }), new SkeletonPlugin({ pathname: './public/skeleton', staticDir: paths.appBuild, routes: ['/','/store/768','/store/146','/store/807'], port: '7890', loading: 'chiaroscuro', svg: { color: '#EFEFEF', shape: 'circle',...
恩 不过好像在SkeletonPlugin里面设置minify选项不会起作用。。
如果我想把最后输出的skeleton screen minify一下怎么办啊, 比如removeComments。。。这个是minify选项的一个option,好像设置minify的其他选项也不起作用,输出的都是formated的。。
我刚刚试着设置了sale sample里面的minify选项,但是通过npm run build 出来的dist里面的html并不是minify的。。
@matiassotose Thanks your solution solved my issue, the issue happens on a single-page react app (not in a micro-frontend context) with custom rest api config missing `...existingConfig.API`, I think it...
The [quickstart vite-react app](https://docs.amplify.aws/gen2/start/quickstart/vite-react-app/) does not build succesfully due to type error of `Schema["Todo"]`; I am using 1.0.0 version of `@aws-amplify/backend`, the type of `Schema["Todo"]` does not match the type...
@ujjwol05 It seems the [javascript quickstart doc](https://docs.amplify.aws/javascript/start/quickstart/) is updated to use `Array`
Thanks @aspittel, I was looking at syntax error in these 3 lines: ``` options: { validateObjectExistence?: false, // [error:] extra question mark expiresIn?: 20 // [error:] extra question mark, no...