refactor: import rollup

This commit is contained in:
harttle
2018-08-20 23:58:41 +08:00
parent 4ece4e208f
commit bc9d8f92af
82 changed files with 8589 additions and 3963 deletions
+2 -3
View File
@@ -1,9 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<meta charset="UTF-8">
<title></title>
<title>liquidjs for the browser</title>
<script src="../../dist/liquid.js"></script>
</head>
+4 -3
View File
@@ -1,10 +1,11 @@
const Liquid = require('../..')
// const Liquid = require('../..')
const Liquid = require('../../dist/liquid.common.js')
let engine = new Liquid({
const engine = new Liquid({
root: __dirname,
extname: '.liquid'
})
let ctx = {
const ctx = {
todos: ['fork and clone', 'make it better', 'make a pull request'],
title: 'Welcome to liquidjs!'
}