back to .js extension
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
|
||||
/* eslint-env browser */
|
||||
|
||||
import * as Y from '../../index.mjs'
|
||||
export * from '../../index.mjs'
|
||||
import * as Y from '../../index.js'
|
||||
export * from '../../index.js'
|
||||
|
||||
const messageSync = 0
|
||||
const messageAwareness = 1
|
||||
@@ -1,10 +1,10 @@
|
||||
/**
|
||||
* @module provider/websocket
|
||||
* @module provider/websocket/server
|
||||
*/
|
||||
|
||||
import * as Y from '../../index.mjs'
|
||||
import WebSocket from 'ws'
|
||||
import http from 'http'
|
||||
const Y = require('../../build/yjs.js')
|
||||
const WebSocket = require('ws')
|
||||
const http = require('http')
|
||||
|
||||
const port = process.env.PORT || 1234
|
||||
|
||||
Reference in New Issue
Block a user