Skip to content

Commit fb81363

Browse files
committed
bundle
1 parent c8a8537 commit fb81363

File tree

6 files changed

+9
-19
lines changed

6 files changed

+9
-19
lines changed

bundle/examples/simple/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"#ignore": "This tag is ignored",
1818
"img2": "![fail img](img/fail.png)",
1919
"hello": "world",
20-
"coding": "this is the code ```{\n \"key\": \"If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text.\",\n \"key2\": \"value\"\n}``` oia o code.",
20+
"coding": "this is the code ```{\n \"key\": \"If you are going <b>to<\/b> use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text.\",\n \"key2\": \"value\"\n}``` oia o code.",
2121
"section-1": {
2222
"title": "## Subtitle h2 👋",
2323
"subtitle": "Subtitle",

bundle/package-lock.json

Lines changed: 2 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundle/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wdr-render-basic-bundle",
3-
"version": "1.0.1",
3+
"version": "1.0.0",
44
"description": "WDR basic render bundle",
55
"author": "Gustavo Pires",
66
"repository": "https://github.com/webdatarender/wdr-render-basic.git",
@@ -13,8 +13,7 @@
1313
"prod": "NODE_ENV=prod webpack"
1414
},
1515
"dependencies": {
16-
"wdr-loader": "^1.0.1",
17-
"wdr-render-basic": "^1.0.1"
16+
"wdr-loader": "file:../../wdr-loader"
1817
},
1918
"devDependencies": {
2019
"@babel/cli": "^7.10.1",

bundle/src/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import loader from 'wdr-loader';
2-
import { render } from 'wdr-render-basic';
32

4-
import './css/main.css';
3+
const render = require("../../src/Render");
4+
5+
import './main.css';
56

67
loader(data => {
78
render(data);
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ h1 {
7373
margin: 64px 0 32px;
7474
font-weight: 900;
7575
}
76-
a + a {
77-
margin-left: 20px;
78-
}
7976
pre {
8077
padding: 24px !important;
8178
overflow: scroll;

bundle/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const mode = process.env.NODE_ENV;
55

66
let version = 'master';
77
if (mode == 'prod') {
8-
version = require('./package.json').version;
8+
version = require('../package.json').version;
99
}
1010
console.log('version:', version);
1111

0 commit comments

Comments
 (0)