Skip to content

Commit

Permalink
fix: Integration test for compat (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
diervo authored Mar 2, 2018
1 parent c1136a5 commit d2e2432
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions packages/lwc-integration/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,17 @@ const baseInputConfig = {
plugins: [
entryPointResolverPlugin(),
rollupLwcCompilerPlugin({
mode: 'dev',
mode,
exclude: `**/*${testSufix}`,
resolveFromPackages: false,
mapNamespaceFromPath: false,
ignoreFolderName: true,
allowUnnamespaced: true
allowUnnamespaced: true,
compat: { // In order to build faster we manually add compat artifacts later
downgrade: false,
polyfills: false
}
}),
isCompat && rollupCompatPlugin({ downgrade: true, polyfills: true }),
testCaseComponentResolverPlugin(),
].filter(Boolean)
};
Expand Down
2 changes: 1 addition & 1 deletion packages/lwc-integration/src/shared/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports.todoApp = function (cmpName) {
import { createElement, register } from 'engine';
import Cmp from '${cmpName}';
registerWireService(register, () => {
registerWireService(register, function () {
return {
serviceTodo
};
Expand Down

0 comments on commit d2e2432

Please sign in to comment.