diff --git a/.happo.js b/.happo.js index b77b62ebc..62629d190 100644 --- a/.happo.js +++ b/.happo.js @@ -14,6 +14,7 @@ module.exports = { type: 'plain', prerender: false, setupScript: path.resolve(__dirname, 'happoSetup.js'), + renderWrapperModule: path.resolve(__dirname, 'happoRender.js'), stylesheets: [path.join(__dirname, 'dist/manifold/manifold.css')], plugins: [happoPluginTypeScript()], }; diff --git a/happoRender.js b/happoRender.js new file mode 100644 index 000000000..c2030001a --- /dev/null +++ b/happoRender.js @@ -0,0 +1,5 @@ +export default component => ` + + + ${component} +`;