diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..3dce414 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true \ No newline at end of file diff --git a/.prettierrc b/.prettierrc index 7efe688..407cd33 100644 --- a/.prettierrc +++ b/.prettierrc @@ -5,6 +5,6 @@ "tabWidth": 2, "semi": false, "arrowParens": "avoid", - "endOfLine": "auto", + "endOfLine": "lf", "ignore": ["**/__tests__/**", "**/*.test.ts", "**/*.spec.ts"] } \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index 76fb6e1..11e996e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -8,6 +8,7 @@ module.exports = (env, argv) => { entry: path.resolve(__dirname, 'src/main.ts'), performance: { hints: false }, output: { + publicPath: 'resources/exitus/libs/exitus-editor/dist/', path: path.resolve(__dirname, 'dist'), filename: 'exituseditor.js', library: 'ExitusEditor',