mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 22:57:57 +01:00
Create libraries directory
This commit is contained in:
parent
c1fccbc489
commit
181ca7b34e
@ -24,13 +24,13 @@ module.exports = {
|
|||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
use: 'babel-loader',
|
use: 'babel-loader',
|
||||||
test: /.(js|jsx)$/,
|
test: /.js$/,
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
extensions: ['.js','.json'],
|
extensions: ['.js', '.json'],
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new CleanWebpackPlugin(),
|
new CleanWebpackPlugin(),
|
||||||
|
@ -59,10 +59,12 @@
|
|||||||
workspacePosition();
|
workspacePosition();
|
||||||
|
|
||||||
// Draw a reference grid.
|
// Draw a reference grid.
|
||||||
var container = document.getElementById("sizeExampleContainer");
|
|
||||||
var grid = new Grid(container, 35, 12);
|
// Enable when JS is loading ...
|
||||||
grid.setPosition("0px", "0px")
|
// var container = document.getElementById("sizeExampleContainer");
|
||||||
grid.render();
|
// var grid = new Grid(container, 35, 12);
|
||||||
|
// grid.setPosition("0px", "0px")
|
||||||
|
// grid.render();
|
||||||
|
|
||||||
// Define a workspace using pixels and inchs.
|
// Define a workspace using pixels and inchs.
|
||||||
var workspacePixel = new web2d.Workspace();
|
var workspacePixel = new web2d.Workspace();
|
||||||
|
@ -23,4 +23,5 @@ module.exports = {
|
|||||||
extensions: ['.js', '.json'],
|
extensions: ['.js', '.json'],
|
||||||
},
|
},
|
||||||
plugins: [new CleanWebpackPlugin()],
|
plugins: [new CleanWebpackPlugin()],
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user