mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-25 12:55:00 +08:00
This work in progress PR moves shared edits into core and uses a yjs backend for it. This gives stuff such as multi cursor support etc.
20 lines
396 B
JavaScript
Vendored
20 lines
396 B
JavaScript
Vendored
const path = require("path");
|
|
|
|
module.exports = {
|
|
mode: "production",
|
|
output: {
|
|
path: path.resolve(__dirname, "..", "..", "public", "javascripts"),
|
|
filename: "text-unicode-dist.js",
|
|
library: "otLib",
|
|
libraryTarget: "umd",
|
|
globalObject: "window",
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.js$/,
|
|
use: { loader: "babel-loader" },
|
|
},
|
|
],
|
|
},
|
|
};
|