Skip to content

Commit

Permalink
fix: Remove browser field from package.json
Browse files Browse the repository at this point in the history
znck committed Aug 16, 2019
1 parent ffb0c43 commit 6c0f200
Showing 4 changed files with 3 additions and 9 deletions.
File renamed without changes.
5 changes: 0 additions & 5 deletions Hydrate.vue

This file was deleted.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -59,10 +59,9 @@
"dist/"
],
"browserslist": "> 0.25%, not dead",
"main": "dist/lazy-hydration.ssr.js",
"main": "dist/lazy-hydration.cjs.js",
"module": "dist/lazy-hydration.js",
"browser": "Hydrate.vue",
"types": "Hydrate.vue.d.ts",
"types": "Hydrate.d.ts",
"jest": {
"moduleFileExtensions": [
"js",
2 changes: 1 addition & 1 deletion tests/Hydrate.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Vue from 'vue'
import { renderToString } from '@vue/server-test-utils'
import { shallowMount } from '@vue/test-utils'
import Hydrate from '../Hydrate.vue'
import Hydrate from '../Hydrate'

function createComponent(onHydration) {
return {

0 comments on commit 6c0f200

Please sign in to comment.