Closed azu closed 5 years ago
BREAKING CHANGE: remove default function
kuromojin v1.1.0 export tokenize as default function. kuromojin v2.0.0 remove the default function.
tokenize
import kuromojin from "kuromojin"; // kuromojin === tokenize
V2.0 should use import {tokenize} from "kuromojin" instead of it
import {tokenize} from "kuromojin"
import {tokenize} from "kuromojin";
BREAKING CHANGE: remove default function
kuromojin v1.1.0 export
tokenize
as default function. kuromojin v2.0.0 remove the default function.V2.0 should use
import {tokenize} from "kuromojin"
instead of it