Skip to content

Commit

Permalink
Merge pull request #42 from fabiiomiiguel/main
Browse files Browse the repository at this point in the history
fix: warning about the __NO_SIDE_EFFECTS__ after building with vite
  • Loading branch information
EranGrin authored Nov 14, 2024
2 parents 247f51f + f9d2266 commit 7bd2133
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package/dist/vue-web-component-wrapper.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { defineComponent as $, nextTick as B, render as A, createVNode as K, h a
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
/*! #__NO_SIDE_EFFECTS__ */
/*!#__NO_SIDE_EFFECTS__*/
process.env.NODE_ENV !== "production" && Object.freeze({});
process.env.NODE_ENV !== "production" && Object.freeze([]);
const z = Object.assign, P = Array.isArray, M = (e) => typeof e == "string", L = (e) => {
Expand All @@ -19,7 +19,7 @@ const z = Object.assign, P = Array.isArray, M = (e) => typeof e == "string", L =
const r = M(e) ? Number(e) : NaN;
return isNaN(r) ? e : r;
};
/*! @__NO_SIDE_EFFECTS__ */
/*!#__NO_SIDE_EFFECTS__*/
function F(e, r, t) {
const s = $(e);
class o extends g {
Expand Down
2 changes: 1 addition & 1 deletion package/dist/vue-web-component-wrapper.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package/src/api-custom-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export function defineCustomElement<P>(
config?: DefineCustomElementConfig
): VueElementConstructor<ExtractPropTypes<P>>

/*! @__NO_SIDE_EFFECTS__ */
/*!#__NO_SIDE_EFFECTS__*/
export function defineCustomElement(
options: any,
config?: DefineCustomElementConfig,
Expand All @@ -180,7 +180,7 @@ export function defineCustomElement(
return VueCustomElement
}

/*! @__NO_SIDE_EFFECTS__ */
/*!#__NO_SIDE_EFFECTS__*/
export const defineSSRCustomElement = ((
options: any,
config?: DefineCustomElementConfig
Expand Down

0 comments on commit 7bd2133

Please sign in to comment.